diff --git a/classes/Entry/class.ctrlmmEntryFormGUI.php b/classes/Entry/class.ctrlmmEntryFormGUI.php index 22509df..c5783d5 100644 --- a/classes/Entry/class.ctrlmmEntryFormGUI.php +++ b/classes/Entry/class.ctrlmmEntryFormGUI.php @@ -112,7 +112,7 @@ private function initForm() { $mode = $this->entry->getId() == 0 ? 'create' : 'edit'; $te = new ilFormSectionHeaderGUI(); - $te->setTitle($this->pl->txt('title')); + $te->setTitle($this->pl->txt('common_title')); $this->addItem($te); $this->setTitle($this->pl->txt('form_title')); $this->setFormAction($this->ctrl->getFormAction($this->parent_gui)); @@ -127,14 +127,14 @@ private function initForm() { $this->addItem($link); if (count(ctrlmmEntry::getAdditionalFieldsAsArray($this->entry)) > 0) { $te = new ilFormSectionHeaderGUI(); - $te->setTitle($this->pl->txt('settings')); + $te->setTitle($this->pl->txt('common_settings')); $this->addItem($te); } - $this->addCommandButton($mode . 'Object', $this->pl->txt('create')); + $this->addCommandButton($mode . 'Object', $this->pl->txt('common_create')); if ($mode != 'create') { $this->addCommandButton($mode . 'ObjectAndStay', $this->pl->txt('create_and_stay')); } - $this->addCommandButton('configure', $this->pl->txt('cancel')); + $this->addCommandButton('configure', $this->pl->txt('common_cancel')); $this->addFields(); } diff --git a/classes/Entry/class.ctrlmmEntryGUI.php b/classes/Entry/class.ctrlmmEntryGUI.php index 8d62d6a..a3966a6 100644 --- a/classes/Entry/class.ctrlmmEntryGUI.php +++ b/classes/Entry/class.ctrlmmEntryGUI.php @@ -128,7 +128,7 @@ public function initForm($mode = 'create') { $this->form = new ilPropertyFormGUI(); $this->initPermissionSelectionForm(); $te = new ilFormSectionHeaderGUI(); - $te->setTitle($this->pl->txt('title')); + $te->setTitle($this->pl->txt('common_title')); $this->form->addItem($te); $this->form->setTitle($this->pl->txt('form_title')); $this->form->setFormAction($this->ctrl->getFormAction($this->parent_gui)); @@ -145,14 +145,14 @@ public function initForm($mode = 'create') { if (count(ctrlmmEntry::getAdditionalFieldsAsArray($this->entry)) > 0) { $te = new ilFormSectionHeaderGUI(); - $te->setTitle($this->pl->txt('settings')); + $te->setTitle($this->pl->txt('common_settings')); $this->form->addItem($te); } - $this->form->addCommandButton($mode . 'Object', $this->pl->txt('create')); + $this->form->addCommandButton($mode . 'Object', $this->pl->txt('common_create')); if ($mode != 'create') { $this->form->addCommandButton($mode . 'ObjectAndStay', $this->pl->txt('create_and_stay')); } - $this->form->addCommandButton('configure', $this->pl->txt('cancel')); + $this->form->addCommandButton('configure', $this->pl->txt('common_cancel')); } diff --git a/classes/Entry/class.ctrlmmEntryTableGUI.php b/classes/Entry/class.ctrlmmEntryTableGUI.php index 48199b4..11d115a 100644 --- a/classes/Entry/class.ctrlmmEntryTableGUI.php +++ b/classes/Entry/class.ctrlmmEntryTableGUI.php @@ -38,9 +38,9 @@ public function __construct(ilCtrlMainMenuConfigGUI $a_parent_obj, $a_parent_cmd // // Columns $this->addColumn('', 'position', '20px'); - $this->addColumn($this->pl->txt('title'), 'title', 'auto'); - $this->addColumn($this->pl->txt('type'), 'type', 'auto'); - $this->addColumn($this->pl->txt('actions'), 'actions', '100px'); + $this->addColumn($this->pl->txt('common_title'), 'title', 'auto'); + $this->addColumn($this->pl->txt('common_type'), 'type', 'auto'); + $this->addColumn($this->pl->txt('common_actions'), 'actions', '100px'); // ... // Header $ilToolbar->addButton($this->pl->txt('add_new'), $this->ctrl->getLinkTarget($a_parent_obj, 'selectEntryType')); @@ -92,13 +92,13 @@ public function fillRow($a_set) { $actions = new ilAdvancedSelectionListGUI(); $actions->setId('actions_' . $obj->getId()); - $actions->setListTitle($this->pl->txt('actions')); + $actions->setListTitle($this->pl->txt('common_actions')); if ($obj->getType() != ctrlmmMenu::TYPE_SEPARATOR) { - $actions->addItem($this->pl->txt('edit'), 'edit', $this->ctrl->getLinkTarget($this->parent_obj, 'editEntry')); - // $actions->addItem($this->pl->txt('edit'), 'edit', $this->ctrl->getLinkTargetByClass('ctrlmmEntryGUI', 'edit')); FSX TODO REFACTORING + $actions->addItem($this->pl->txt('common_edit'), 'edit', $this->ctrl->getLinkTarget($this->parent_obj, 'editEntry')); + // $actions->addItem($this->pl->txt('common_edit'), 'edit', $this->ctrl->getLinkTargetByClass('ctrlmmEntryGUI', 'edit')); FSX TODO REFACTORING } if ($obj->getType() != ctrlmmMenu::TYPE_ADMIN) { - $actions->addItem($this->pl->txt('delete'), 'delete', $this->ctrl->getLinkTarget($this->parent_obj, 'deleteEntry')); + $actions->addItem($this->pl->txt('common_delete'), 'delete', $this->ctrl->getLinkTarget($this->parent_obj, 'deleteEntry')); } if ($obj->getType() == ctrlmmMenu::TYPE_DROPDOWN) { $actions->addItem($this->pl->txt('edit_childs'), 'edit_childs', $this->ctrl->getLinkTarget($this->parent_obj, 'editChilds')); diff --git a/classes/EntryTypes/Ctrl/class.ctrlmmEntryCtrlGUI.php b/classes/EntryTypes/Ctrl/class.ctrlmmEntryCtrlGUI.php index 3cbfb1a..5df35f3 100644 --- a/classes/EntryTypes/Ctrl/class.ctrlmmEntryCtrlGUI.php +++ b/classes/EntryTypes/Ctrl/class.ctrlmmEntryCtrlGUI.php @@ -32,7 +32,7 @@ public function initForm($mode = 'create') { $te->setRequired(true); $this->form->addItem($te); - $te = new ilTextInputGUI($this->pl->txt('cmd'), 'my_cmd'); + $te = new ilTextInputGUI($this->pl->txt('common_cmd'), 'my_cmd'); $te->setRequired(false); $this->form->addItem($te); @@ -43,7 +43,7 @@ public function initForm($mode = 'create') { $te->setValue($this->entry->getType()); $this->form->addItem($te); - $se = new ilSelectInputGUI($this->pl->txt('target'), 'target'); + $se = new ilSelectInputGUI($this->pl->txt('common_target'), 'target'); $opt = array( '_top' => $this->pl->txt('same_page'), '_blank' => $this->pl->txt('new_page') ); $se->setOptions($opt); $this->form->addItem($se); diff --git a/classes/EntryTypes/Desktop/class.ctrlmmEntryDesktop.php b/classes/EntryTypes/Desktop/class.ctrlmmEntryDesktop.php index d3c9fa2..3d2498f 100644 --- a/classes/EntryTypes/Desktop/class.ctrlmmEntryDesktop.php +++ b/classes/EntryTypes/Desktop/class.ctrlmmEntryDesktop.php @@ -40,9 +40,10 @@ class ctrlmmEntryDesktop extends ctrlmmEntry { */ protected $show_logout = true; /** - * @var int + * @var bool */ - //protected $type = ctrlmmMenu::TYPE_DESKTOP; + protected $disable_active = false; + public function __construct($primary_key = 0) { $this->setType(ctrlmmMenu::TYPE_DESKTOP); @@ -67,6 +68,22 @@ public function getShowLogout() { } + /** + * @return boolean + */ + public function isDisableActive() { + return $this->disable_active; + } + + + /** + * @param boolean $disable_active + */ + public function setDisableActive($disable_active) { + $this->disable_active = $disable_active; + } + + /** * @return bool */ diff --git a/classes/EntryTypes/Desktop/class.ctrlmmEntryDesktopGUI.php b/classes/EntryTypes/Desktop/class.ctrlmmEntryDesktopGUI.php index 20a7073..cd38792 100644 --- a/classes/EntryTypes/Desktop/class.ctrlmmEntryDesktopGUI.php +++ b/classes/EntryTypes/Desktop/class.ctrlmmEntryDesktopGUI.php @@ -14,6 +14,8 @@ class ctrlmmEntryDesktopGUI extends ctrlmmEntryGroupedListDropdownGUI { const F_SHOW_LOGOUT = 'show_logout'; + const F_DISABLE_ACTIVE = 'disable_active'; + const CLASS_DISABLED = 'disabled'; /** * @var ctrlmmEntryDesktop */ @@ -24,17 +26,36 @@ class ctrlmmEntryDesktopGUI extends ctrlmmEntryGroupedListDropdownGUI { protected $mail = false; - - /** * @param ctrlmmEntry $entry - * @param null $parent_gui + * @param null $parent_gui */ - public function __construct(ctrlmmEntry $entry, $parent_gui = NULL) { + public function __construct(ctrlmmEntry $entry, $parent_gui = null) { global $rbacsystem, $ilUser; parent::__construct($entry, $parent_gui); - $this->mail = ($rbacsystem->checkAccess('internal_mail', ilMailGlobalServices::getMailObjectRefId()) AND - $ilUser->getId() != ANONYMOUS_USER_ID); + $this->mail = ($rbacsystem->checkAccess('internal_mail', ilMailGlobalServices::getMailObjectRefId()) AND $ilUser->getId() + != ANONYMOUS_USER_ID); + } + + + /** + * @return string + */ + protected function getAdditionalClasses($class = '') { + $classes = array( $class ); + if ($this->entry->isDisableActive()) { + $classes[] = self::CLASS_DISABLED; + } + + return implode(' ', $classes); + } + + + /** + * @param \ctrlmmGLEntry $ctrlmmGLEntry + */ + protected function addGLEntry(ctrlmmGLEntry $ctrlmmGLEntry) { + $this->gl->addEntry($ctrlmmGLEntry->getTitle(), $ctrlmmGLEntry->getLink(), '_top', '', implode(' ', $ctrlmmGLEntry->getClasses($this->entry->isDisableActive())), $ctrlmmGLEntry->getId(), ilHelp::getMainMenuTooltip($ctrlmmGLEntry->getId()), 'left center', 'right center', false); } @@ -48,27 +69,47 @@ public function __construct(ctrlmmEntry $entry, $parent_gui = NULL) { public function setGroupedListContent() { global $lng, $ilSetting, $rbacsystem, $ilias; - $this->gl->addEntry($lng->txt('overview'), 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToSelectedItems', '_top', '', '', 'mm_pd_sel_items', ilHelp::getMainMenuTooltip('mm_pd_sel_items'), 'left center', 'right center', false); + // Overview + $ctrlmmGLEntry = new ctrlmmGLEntry(); + $ctrlmmGLEntry->setId('mm_pd_sel_items'); + $ctrlmmGLEntry->setTitle($lng->txt('overview')); + $ctrlmmGLEntry->setLink('ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToSelectedItems'); + $this->addGLEntry($ctrlmmGLEntry); // my groups and courses, if both is available - if ($ilSetting->get('disable_my_offers') == 0 AND $ilSetting->get('disable_my_memberships') == 0 - ) { - $this->gl->addEntry($lng->txt('my_courses_groups'), 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToMemberships', '_top', '', '', 'mm_pd_crs_grp', ilHelp::getMainMenuTooltip('mm_pd_crs_grp'), 'left center', 'right center', false); + if ($ilSetting->get('disable_my_offers') == 0 AND $ilSetting->get('disable_my_memberships') == 0) { + $ctrlmmGLEntry = new ctrlmmGLEntry(); + $ctrlmmGLEntry->setId('mm_pd_crs_grp'); + $ctrlmmGLEntry->setTitle($lng->txt('my_courses_groups')); + $ctrlmmGLEntry->setLink('ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToMemberships'); + $this->addGLEntry($ctrlmmGLEntry); } // bookmarks if (!$ilias->getSetting('disable_bookmarks')) { - $this->gl->addEntry($lng->txt('bookmarks'), 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToBookmarks', '_top', '', '', 'mm_pd_bookm', ilHelp::getMainMenuTooltip('mm_pd_bookm'), 'left center', 'right center', false); + $ctrlmmGLEntry = new ctrlmmGLEntry(); + $ctrlmmGLEntry->setId('mm_pd_bookm'); + $ctrlmmGLEntry->setTitle($lng->txt('bookmarks')); + $ctrlmmGLEntry->setLink('ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToBookmarks'); + $this->addGLEntry($ctrlmmGLEntry); } // private notes if (!$ilias->getSetting('disable_notes')) { - $this->gl->addEntry($lng->txt('notes_and_comments'), 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToNotes', '_top', '', '', 'mm_pd_notes', ilHelp::getMainMenuTooltip('mm_pd_notes'), 'left center', 'right center', false); + $ctrlmmGLEntry = new ctrlmmGLEntry(); + $ctrlmmGLEntry->setId('mm_pd_notes'); + $ctrlmmGLEntry->setTitle($lng->txt('notes_and_comments')); + $ctrlmmGLEntry->setLink('ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToNotes'); + $this->addGLEntry($ctrlmmGLEntry); } // news if ($ilSetting->get('block_activated_news')) { - $this->gl->addEntry($lng->txt('news'), 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToNews', '_top', '', '', 'mm_pd_news', ilHelp::getMainMenuTooltip('mm_pd_news'), 'left center', 'right center', false); + $ctrlmmGLEntry = new ctrlmmGLEntry(); + $ctrlmmGLEntry->setId('mm_pd_news'); + $ctrlmmGLEntry->setTitle($lng->txt('news')); + $ctrlmmGLEntry->setLink('ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToNews'); + $this->addGLEntry($ctrlmmGLEntry); } // overview is always active @@ -78,14 +119,22 @@ public function setGroupedListContent() { if (!$ilSetting->get('disable_personal_workspace')) { // workspace - $this->gl->addEntry($lng->txt('personal_workspace'), 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToWorkspace', '_top', '', '', 'mm_pd_wsp', ilHelp::getMainMenuTooltip('mm_pd_wsp'), 'left center', 'right center', false); + $ctrlmmGLEntry = new ctrlmmGLEntry(); + $ctrlmmGLEntry->setId('mm_pd_wsp'); + $ctrlmmGLEntry->setTitle($lng->txt('personal_workspace')); + $ctrlmmGLEntry->setLink('ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToWorkspace'); + $this->addGLEntry($ctrlmmGLEntry); $separator = true; } // portfolio if ($ilSetting->get('user_portfolios')) { - $this->gl->addEntry($lng->txt('portfolio'), 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToPortfolio', '_top', '', '', 'mm_pd_port', ilHelp::getMainMenuTooltip('mm_pd_port'), 'left center', 'right center', false); + $ctrlmmGLEntry = new ctrlmmGLEntry(); + $ctrlmmGLEntry->setId('mm_pd_port'); + $ctrlmmGLEntry->setTitle($lng->txt('portfolio')); + $ctrlmmGLEntry->setLink('ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToPortfolio'); + $this->addGLEntry($ctrlmmGLEntry); $separator = true; } @@ -93,17 +142,25 @@ public function setGroupedListContent() { // skills $skmg_set = new ilSetting('skmg'); if ($skmg_set->get('enable_skmg')) { - $this->gl->addEntry($lng->txt('skills'), 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToSkills', '_top', '', '', 'mm_pd_skill', ilHelp::getMainMenuTooltip('mm_pd_skill'), 'left center', 'right center', false); + $ctrlmmGLEntry = new ctrlmmGLEntry(); + $ctrlmmGLEntry->setId('mm_pd_skill'); + $ctrlmmGLEntry->setTitle($lng->txt('skills')); + $ctrlmmGLEntry->setLink('ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToSkills'); + $this->addGLEntry($ctrlmmGLEntry); $separator = true; } // Learning Progress if (ilObjUserTracking::_enabledLearningProgress() AND (ilObjUserTracking::_hasLearningProgressOtherUsers() - OR ilObjUserTracking::_hasLearningProgressLearner()) + OR ilObjUserTracking::_hasLearningProgressLearner()) ) { //$ilTabs->addTarget('learning_progress', $this->ctrl->getLinkTargetByClass('ilLearningProgressGUI')); - $this->gl->addEntry($lng->txt('learning_progress'), 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToLP', '_top', '', '', 'mm_pd_lp', ilHelp::getMainMenuTooltip('mm_pd_lp'), 'left center', 'right center', false); + $ctrlmmGLEntry = new ctrlmmGLEntry(); + $ctrlmmGLEntry->setId('mm_pd_lp'); + $ctrlmmGLEntry->setTitle($lng->txt('learning_progress')); + $ctrlmmGLEntry->setLink('ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToLP'); + $this->addGLEntry($ctrlmmGLEntry); $separator = true; } @@ -117,23 +174,35 @@ public function setGroupedListContent() { // calendar $settings = ilCalendarSettings::_getInstance(); if ($settings->isEnabled()) { - $this->gl->addEntry($lng->txt('calendar'), 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToCalendar', '_top', '', '', 'mm_pd_cal', ilHelp::getMainMenuTooltip('mm_pd_cal'), 'left center', 'right center', false); + $ctrlmmGLEntry = new ctrlmmGLEntry(); + $ctrlmmGLEntry->setId('mm_pd_cal'); + $ctrlmmGLEntry->setTitle($lng->txt('calendar')); + $ctrlmmGLEntry->setLink('ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToCalendar'); + $this->addGLEntry($ctrlmmGLEntry); $separator = true; } // mail if ($this->mail) { - $this->gl->addEntry($lng->txt('mail'), 'ilias.php?baseClass=ilMailGUI', '_top', '', '', 'mm_pd_mail', ilHelp::getMainMenuTooltip('mm_pd_mail'), 'left center', 'right center', false); + $ctrlmmGLEntry = new ctrlmmGLEntry(); + $ctrlmmGLEntry->setId('mm_pd_mail'); + $ctrlmmGLEntry->setTitle($lng->txt('mail')); + $ctrlmmGLEntry->setLink('ilias.php?baseClass=ilMailGUI'); + $this->addGLEntry($ctrlmmGLEntry); $separator = true; } // contacts if (!$ilias->getSetting('disable_contacts') AND ($ilias->getSetting('disable_contacts_require_mail') - OR $rbacsystem->checkAccess('internal_mail', ilMailGlobalServices::getMailObjectRefId())) + OR $rbacsystem->checkAccess('internal_mail', ilMailGlobalServices::getMailObjectRefId())) ) { - $this->gl->addEntry($lng->txt('mail_addressbook'), 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToContacts', '_top', '', '', 'mm_pd_contacts', ilHelp::getMainMenuTooltip('mm_pd_contacts'), 'left center', 'right center', false); + $ctrlmmGLEntry = new ctrlmmGLEntry(); + $ctrlmmGLEntry->setId('mm_pd_contacts'); + $ctrlmmGLEntry->setTitle($lng->txt('mail_addressbook')); + $ctrlmmGLEntry->setLink('ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToContacts'); + $this->addGLEntry($ctrlmmGLEntry); $separator = true; } @@ -143,15 +212,23 @@ public function setGroupedListContent() { } // profile - $this->gl->addEntry($lng->txt('personal_profile'), 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToProfile', '_top', '', '', 'mm_pd_profile', ilHelp::getMainMenuTooltip('mm_pd_profile'), 'left center', 'right center', false); + $ctrlmmGLEntry = new ctrlmmGLEntry(); + $ctrlmmGLEntry->setId('mm_pd_profile'); + $ctrlmmGLEntry->setTitle($lng->txt('personal_profile')); + $ctrlmmGLEntry->setLink('ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToProfile'); + $this->addGLEntry($ctrlmmGLEntry); // settings - $this->gl->addEntry($lng->txt('personal_settings'), 'ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToSettings', '_top', '', '', 'mm_pd_sett', ilHelp::getMainMenuTooltip('mm_pd_sett'), 'left center', 'right center', false); + $ctrlmmGLEntry = new ctrlmmGLEntry(); + $ctrlmmGLEntry->setId('mm_pd_sett'); + $ctrlmmGLEntry->setTitle($lng->txt('personal_settings')); + $ctrlmmGLEntry->setLink('ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToSettings'); + $this->addGLEntry($ctrlmmGLEntry); if ($this->entry->getShowLogout()) { $this->gl->addSeparator(); // settings - $this->gl->addEntry($lng->txt('logout'), 'logout.php', '_top', '', '', '', false, 'left center', 'right center', false); + $this->gl->addEntry($lng->txt('logout'), 'logout.php', '_top', '', $this->getAdditionalClasses(), '', false, 'left center', 'right center', false); } } @@ -168,22 +245,228 @@ public function initForm($mode = 'create') { parent::initForm($mode); $te = new ilCheckboxInputGUI($this->pl->txt(self::F_SHOW_LOGOUT), self::F_SHOW_LOGOUT); $this->form->addItem($te); + + $te = new ilCheckboxInputGUI($this->pl->txt(self::F_DISABLE_ACTIVE), self::F_DISABLE_ACTIVE); + $this->form->addItem($te); } public function setFormValuesByArray() { $values = parent::setFormValuesByArray(); $values[self::F_SHOW_LOGOUT] = $this->entry->getShowLogout(); + $values[self::F_DISABLE_ACTIVE] = $this->entry->isDisableActive(); $this->form->setValuesByArray($values); } public function createEntry() { $show_logout = (bool)$this->form->getInput(self::F_SHOW_LOGOUT); + $disable_active = (bool)$this->form->getInput(self::F_DISABLE_ACTIVE); $this->entry->setShowLogout($show_logout); + $this->entry->setDisableActive($disable_active); parent::createEntry(); } - } -?> +/** + * Class ctrlmmGLEntry + * + * @author Fabian Schmid + */ +class ctrlmmGLEntry { + + const CLASS_DISABLED = 'disabled ctrlmm_disabled'; + /** + * @var string + */ + protected $id = ''; + /** + * @var string + */ + protected $title = ''; + /** + * @var string + */ + protected $link = ''; + /** + * @var string + */ + protected $target = '_top'; + /** + * @var string + */ + protected $onclick = ''; + /** + * @var array + */ + protected $classes = array(); + + + /** + * @return string + */ + public function getId() { + return $this->id; + } + + + /** + * @param string $id + */ + public function setId($id) { + $this->id = $id; + } + + + /** + * @return string + */ + public function getTitle() { + return $this->title; + } + + + /** + * @param string $title + */ + public function setTitle($title) { + $this->title = $title; + } + + + /** + * @return string + */ + public function getLink() { + return $this->link; + } + + + /** + * @param string $link + */ + public function setLink($link) { + $this->link = $link; + } + + + /** + * @return string + */ + public function getTarget() { + return $this->target; + } + + + /** + * @param string $target + */ + public function setTarget($target) { + $this->target = $target; + } + + + /** + * @return string + */ + public function getOnclick() { + return $this->onclick; + } + + + /** + * @param string $onclick + */ + public function setOnclick($onclick) { + $this->onclick = $onclick; + } + + + /** + * @param $disable_active + * @return array + */ + public function getClasses($disable_active) { + $this->checkClasses($disable_active); + + return $this->classes; + } + + + /** + * @param array $classes + */ + public function setClasses($classes) { + $this->classes = $classes; + } + + + /** + * @param $disable_active + */ + protected function checkClasses($disable_active) { + if ($disable_active) { + $real_link = str_replace('&', '&', $this->getLink()); + $same_link = ($real_link == ltrim($_SERVER['REQUEST_URI'], "/")); + if ($same_link) { + $this->classes[] = self::CLASS_DISABLED; + } + + $active = ''; + switch ($_GET['cmdClass']) { + case 'ilbookmarkadministrationgui': + $active = 'bookm'; + break; + case 'ilpdnotesgui': + $active = 'notes'; + break; + case 'ilpdnewsgui': + $active = 'news'; + break; + case 'ilobjectownershipmanagementgui': + case 'ilobjworkspacerootfoldergui': + case 'ilpersonalworkspacegui': + $active = 'wsp'; + break; + case 'ilobjportfoliogui': + $active = 'port'; + break; + case 'illearningprogressgui': + case 'illplistofobjectsgui': + case 'illplistofprogressgui': + $active = 'lp'; + break; + case 'ilcalendarpresentationgui': + case 'ilcalendarinboxgui': + case 'ilcalendardaygui': + case 'ilcalendarweekgui': + case 'ilcalendarmonthgui': + case 'ilcalendarcategorygui': + case 'ilcalendarusersettingsgui': + $active = 'cal'; + break; + case 'ilmailoptionsgui': + case 'ilmailformgui': + case 'ilmailfoldergui': + $active = 'mail'; + break; + case 'ilmailaddressbookgui': + $active = 'contacts'; + break; + case 'ilpersonalprofilegui': + $active = 'profile'; + break; + case 'ilpersonalsettingsgui': + $active = 'sett'; + break; + case 'ilusabilitypersonaldesktopgui': + $active = 'crs_grp'; + break; + } + + if ("mm_pd_{$active}" == $this->getId()) { + $this->classes[] = self::CLASS_DISABLED; + } + } + } +} \ No newline at end of file diff --git a/classes/EntryTypes/Link/class.ctrlmmEntryLinkGUI.php b/classes/EntryTypes/Link/class.ctrlmmEntryLinkGUI.php index 65741f6..2dffd26 100644 --- a/classes/EntryTypes/Link/class.ctrlmmEntryLinkGUI.php +++ b/classes/EntryTypes/Link/class.ctrlmmEntryLinkGUI.php @@ -17,11 +17,11 @@ class ctrlmmEntryLinkGUI extends ctrlmmEntryGUI { public function initForm($mode = 'create') { parent::initForm($mode); - $te = new ilTextInputGUI($this->pl->txt('link'), 'url'); + $te = new ilTextInputGUI($this->pl->txt('common_link'), 'url'); $te->setRequired(true); $this->form->addItem($te); - $se = new ilSelectInputGUI($this->pl->txt('target'), 'target'); + $se = new ilSelectInputGUI($this->pl->txt('common_target'), 'target'); $opt = array( '_top' => $this->pl->txt('same_page'), '_blank' => $this->pl->txt('new_page') ); $se->setOptions($opt); $this->form->addItem($se); diff --git a/classes/EntryTypes/Refid/class.ctrlmmEntryRefidGUI.php b/classes/EntryTypes/Refid/class.ctrlmmEntryRefidGUI.php index 839d5a8..abd3092 100644 --- a/classes/EntryTypes/Refid/class.ctrlmmEntryRefidGUI.php +++ b/classes/EntryTypes/Refid/class.ctrlmmEntryRefidGUI.php @@ -21,7 +21,7 @@ public function initForm($mode = 'create') { $te->setRequired(true); $this->form->addItem($te); - $cb = new ilCheckboxInputGUI($this->pl->txt('recursive'), 'recursive'); + $cb = new ilCheckboxInputGUI($this->pl->txt('common_recursive'), 'recursive'); $cb->setValue(1); $this->form->addItem($cb); diff --git a/classes/class.ilCtrlMainMenuConfigGUI.php b/classes/class.ilCtrlMainMenuConfigGUI.php index 015e5f5..8c05dfb 100644 --- a/classes/class.ilCtrlMainMenuConfigGUI.php +++ b/classes/class.ilCtrlMainMenuConfigGUI.php @@ -154,6 +154,7 @@ protected function cacheSettings() { $form->setFormAction($this->ctrl->getFormAction($this)); $cb = new ilCheckboxInputGUI($this->pl->txt('activate_cache'), 'activate_cache'); + $cb->setInfo($this->pl->txt('activate_cache_info')); $form->addItem($cb); $form->setValuesByArray(array( 'activate_cache' => ilCtrlMainMenuConfig::get('activate_cache') )); $form->addCommandButton('updateCacheSettings', $this->pl->txt('update_cache_settings')); @@ -221,11 +222,11 @@ public function selectEntryType() { $select = new ilPropertyFormGUI(); $select->setFormAction($this->ctrl->getFormAction($this)); $select->setTitle($this->pl->txt('select_type')); - $se = new ilSelectInputGUI($this->pl->txt('type'), 'type'); + $se = new ilSelectInputGUI($this->pl->txt('common_type'), 'type'); $se->setOptions(ctrlmmMenu::getAllTypesAsArray(true, $_GET['parent_id'])); $select->addItem($se); - $select->addCommandButton('addEntry', $this->pl->txt('select')); - $select->addCommandButton('configure', $this->pl->txt('cancel')); + $select->addCommandButton('addEntry', $this->pl->txt('common_select')); + $select->addCommandButton('configure', $this->pl->txt('common_cancel')); $this->tpl->setContent($select->getHTML()); } @@ -310,8 +311,8 @@ public function deleteEntry() { $conf = new ilConfirmationGUI(); ilUtil::sendQuestion($this->pl->txt('qst_delete_entry')); $conf->setFormAction($this->ctrl->getFormAction($this)); - $conf->setConfirm($this->pl->txt('delete'), 'deleteObject'); - $conf->setCancel($this->pl->txt('cancel'), 'configure'); + $conf->setConfirm($this->pl->txt('common_delete'), 'deleteObject'); + $conf->setCancel($this->pl->txt('common_cancel'), 'configure'); $conf->addItem('entry_id', $_GET['entry_id'], $entry->getTitle()); $this->tpl->setContent($conf->getHTML()); } @@ -368,7 +369,7 @@ public function initConfigurationForm() { $this->form->addItem($field); } $this->form->addCommandButton('save', $lng->txt('save')); - $this->form->setTitle($this->pl->txt('configuration')); + $this->form->setTitle($this->pl->txt('common_configuration')); $this->form->setFormAction($ilCtrl->getFormAction($this)); return $this->form; diff --git a/classes/class.ilCtrlMainMenuPlugin.php b/classes/class.ilCtrlMainMenuPlugin.php index 019ac05..c06b9c1 100644 --- a/classes/class.ilCtrlMainMenuPlugin.php +++ b/classes/class.ilCtrlMainMenuPlugin.php @@ -36,6 +36,15 @@ protected function init() { self::loadActiveRecord(); } +// +// public function txt($a_var) { +// require_once('./Customizing/global/plugins/Libraries/PluginTranslator/class.sragPluginTranslator.php'); +//// return parent::txt($a_var); // TODO: Change the autogenerated stub +// +//// return sragPluginTranslator::getInstance($this)->rebuild(true)->txt($a_var); +// return sragPluginTranslator::getInstance($this)->active(true)->write(true)->txt($a_var); +// } + /** * @return ilCtrlMainMenuPlugin diff --git a/doc/Documentation.pdf b/doc/Documentation.pdf index 737e9bb..3b9d039 100644 Binary files a/doc/Documentation.pdf and b/doc/Documentation.pdf differ diff --git a/lang/ilias_de.lang b/lang/ilias_de.lang index f11503a..880e484 100644 --- a/lang/ilias_de.lang +++ b/lang/ilias_de.lang @@ -1,109 +1,96 @@ -list_title#:#Menu-Einträge -title#:#Titel -type#:#Typ -css_prefix#:#CSS-Prefix -configuration#:#Konfiguration -add_new#:#Neuen Eintrag hinzufügen -save_sorting#:#Reihenfolge speichern -sorting_saved#:#Reihenfolge gespeichert +common_actions#:#Aktionen +common_cancel#:#Abbrechen +common_cmd#:#Command +common_configuration#:#Konfiguration +common_create#:#Speichern und schliessen +common_delete#:#Löschen +common_edit#:#Bearbeiten +common_link#:#URL +common_recursive#:#Menü-Eintrag soll auch bei Unterobjekten Aktiv sein +common_select#:#Typ wählen +common_settings#:#Typ-spezifische Einstellungen +common_target#:#Linkziel +common_title#:#Titel +common_type#:#Typ +activate_cache#:#GlobalCache aktivieren (experimental) +activate_cache_info#:#Einträge werden für 120 Sekunden im Memory des Webservers gespeichert. +add_new#:#Eintrag hinzufügen +back_to_main#:#Hauptmenu bearbeiten +cache_cleared#:#Cache gelöscht +cache_settings#:#Cache +cache_settings_updated#:#Cache-Settings gespeichert +clear_cache#:#Cache löschen +conf_saved#:#Gespeichert +create_and_stay#:#Speichern css_active#:#CSS-Klasse aktiv css_inactive#:#CSS-Klasse inaktiv -actions#:#Aktionen -edit#:#Bearbeiten -delete#:#Löschen -add_new#:#Eintrag hinzufügen -select#:#Typ wählen -cancel#:#Abbrechen -select_type#:#Typ wählen +css_prefix#:#CSS-Prefix +css_settings#:#CSS-Einstellungen +doubleclick_prevention#:#Verhindere Doppelklicks systemweit (experimental) +edit_childs#:#Einträge bearbeiten +entry_added#:#Eintrag wurde hinzugefügt +entry_deleted#:#Eintrag wurde gelöscht +entry_updated#:#Eintrag wurde aktualisiert form_title#:#Eintrag erstellen +get_parameters#:#URL-Parameter +get_parameters_description#:#Das erste Eingabefeld definiert den Namen des Parameters. Das Zweite den entsprechenden Wert. Die Ausgabe wird dann in die Form URL?name1=value1&name2=value2 umgewandelt. +get_param_name#:#MISSING +get_param_value#:#MISSING +gui_class#:#GUI-Klassen, komma-separiert +list_title#:#Menu-Einträge +new_page#:#Neue Seite +not_visible_for_admin#:#

Für aktuellen Benutzer nicht sichtbar.

+no_childs#:#

Nicht sichtbar, da keine Einträge.

permission_type#:#Zugriff wählen -create#:#Speichern und schliessen -perm_none#:#Keine Zugriffsregelung perm_input#:#Eingabe: -perm_role#:#Auf Rollen-IDs einschränken -perm_role_exeption#:#Alle Rollen-IDs ausser die Genannten +perm_input_locale#:#Lokale Rollen +perm_input_locale_info#:#IDs von lokalen Rollen kommasepariert +perm_input_script_class#:#Klassenname +perm_input_script_method#:#Methodenname +perm_input_script_path#:#Skriptpfad +perm_input_user#:#Benutzer-IDs +perm_input_user_info#:#Benutzer-IDs kommasepariert +perm_none#:#Keine Zugriffsregelung perm_ref_read#:#Leserecht auf RefID perm_ref_write#:#Schreibrecht auf RefID +perm_role#:#Auf Rollen-IDs einschränken +perm_role_exeption#:#Alle Rollen-IDs ausser die Genannten perm_script#:#Zugriffsrecht per Skript prüfen -perm_input_script_path#:#Skriptpfad -perm_input_script_class#:#Klassenname -perm_input_script_method#:#Methodenname - -get_parameters#:#URL-Parameter -get_parameters_description#:#Das erste Eingabefeld definiert den Namen des Parameters. Das Zweite den entsprechenden Wert. Die Ausgabe wird dann in die Form URL?name1=value1&name2=value2 umgewandelt. - -gui_class#:#GUI-Klassen, komma-separiert -cmd#:#Command - +perm_userid#:#Einschränkung auf Benutzer +qst_delete_entry#:#Möchten Sie den folgenden Eintrag wirklich löschen? +ref_id#:#Ref-ID +replace_full_header#:#Ganzen Header ersetzen (experimental) +same_page#:#Gleiche Seite +save_sorting#:#Reihenfolge speichern +select_type#:#Typ wählen +settentr_button_save#:#Speichern +show_icons#:#Icons anzeigen +show_logout#:#Show logout +show_with_no_children#:#Anzeigen auch wenn keine Subelemente vorhanden sind +simple_form_validation#:#Einfache Formular-Validierung aktivieren (experimental) +sorting_saved#:#Reihenfolge gespeichert +tabs_title_childs#:#Dropdown bearbeiten +tab_main#:#Hauptmenu bearbeiten +title_de#:#Deutscher Titel +title_en#:#Englischer Titel +title_fr#:#Französischer Titel +title_it#:#Italienischer Titel +type_admin#:#Administration +type_auth#:#Authentifizierung type_ctrl#:#ilCtrl -type_link#:#URL +type_desktop#:#Persönlicher Schreibtisch type_dropdown#:#Dropdown -type_refid#:#Ref-ID -type_admin#:#Administration type_lastvisited#:#Zuletzt besucht +type_link#:#URL +type_refid#:#Ref-ID type_repository#:#Magazin -type_desktop#:#Persönlicher Schreibtisch -type_settings#:#Benutzereinstellungen -type_separator#:#Umbruch type_search#:#Schnellsuche +type_separator#:#Umbruch +type_settings#:#Benutzereinstellungen type_statusbox#:#Mail-Status -type_auth#:#Authentifizierung -type_user#:#Benutzer type_subtitle#:#Subtitel - -title_en#:#Englischer Titel -title_de#:#Deutscher Titel -title_fr#:#Französischer Titel -title_it#:#Italienischer Titel -settings#:#Typ-spezifische Einstellungen -link#:#URL -target#:#Linkziel -ref_id#:#Ref-ID -entry_added#:#Eintrag wurde hinzugefügt -entry_updated#:#Eintrag wurde aktualisiert -entry_deleted#:#Eintrag wurde gelöscht -qst_delete_entry#:#Möchten Sie den folgenden Eintrag wirklich löschen? -edit_childs#:#Einträge bearbeiten - -back_to_main#:#Hauptmenu bearbeiten -tabs_title_childs#:#Dropdown bearbeiten -tab_main#:#Hauptmenu bearbeiten +type_user#:#Benutzer +update_cache_settings#:#Speichern use_image#:#Pfeilbild verwenden use_user_image#:#Benutzerbild statt Titel verwenden - - -same_page#:#Gleiche Seite -new_page#:#Neue Seite -not_visible_for_admin#:#

Für aktuellen Benutzer nicht sichtbar.

-no_childs#:#

Nicht sichtbar, da keine Einträge.

-css_settings#:#CSS-Einstellungen -recursive#:#Menü-Eintrag soll auch bei Unterobjekten Aktiv sein -show_icons#:#Icons der Einträge anzeigen - -conf_saved#:#Gespeichert -create_and_stay#:#Speichern -perm_input_locale#:#Lokale Rollen -perm_input_locale_info#:#IDs von lokalen Rollen kommasepariert -perm_userid#:#Einschränkung auf Benutzer -perm_input_user#:#Benutzer-IDs -perm_input_user_info#:#Benutzer-IDs kommasepariert - -show_logout#:#Show logout - -show_icons#:#Icons anzeigen - -doubleclick_prevention#:#Verhindere Doppelklicks systemweit (experimental) -simple_form_validation#:#Einfache Formular-Validierung aktivieren (experimental) - -settentr_button_save#:#Speichern -replace_full_header#:#Ganzen Header ersetzen (experimental) - -cache_settings#:#Cache -update_cache_settings#:#Speichern -cache_settings_updated#:#Cache-Settings gespeichert -activate_cache#:#GlobalCache aktivieren (experimental) -activate_cache_info#:#Einträge werden für 120 Sekunden im Memory des Webservers gespeichert.$ -cache_cleared#:#Cache gelöscht -clear_cache#:#Cache löschen - -show_with_no_children#:#Anzeigen auch wenn keine Subelemente vorhanden sind +disable_active#:#Aktive Einträge deaktivieren diff --git a/lang/ilias_en.lang b/lang/ilias_en.lang index 308564c..6b8b3cc 100644 --- a/lang/ilias_en.lang +++ b/lang/ilias_en.lang @@ -1,106 +1,95 @@ -list_title#:#Menu Entries -title#:#Title -type#:#Type -css_prefix#:#CSS Prefix -configuration#:#Configuration -add_new#:#Add New Entry -save_sorting#:#Save Order -sorting_saved#:#Order save +common_actions#:#Actions +common_cancel#:#Cancel +common_cmd#:#Command +common_configuration#:#Configuration +common_create#:#Save and close +common_delete#:#Delete +common_edit#:#Edit +common_link#:#URL +common_recursive#:#Entry should be active even at sub-objects +common_select#:#Select Type +common_settings#:#Type Specific Settings +common_target#:#Target +common_title#:#Title +common_type#:#Type +activate_cache#:#Activate GlobalCache (experimental) +activate_cache_info#:#Entries will be stores i Webserver's Memory for 120 seconds. +add_new#:#Add Entry +back_to_main#:#Back +cache_cleared#:#Cache cleared +cache_settings#:#Cache +cache_settings_updated#:#Cache-Settings saved +clear_cache#:#Clear Cache +conf_saved#:#Saved +create_and_stay#:#Save css_active#:#CSS Class active css_inactive#:#CSS Class inactive -actions#:#Actions -edit#:#Edit -delete#:#Delete -add_new#:#Add Entry -select#:#Select Type -cancel#:#Cancel -select_type#:#Select Type +css_prefix#:#CSS Prefix +css_settings#:#CSS Settings +doubleclick_prevention#:#Prevent Doubleclicks (experimental) +edit_childs#:#Edit Entries +entry_added#:#Entry added +entry_deleted#:#Entry deleted +entry_updated#:#Entry updated form_title#:#Add New Entry +get_parameters#:#URL-Parameters +get_parameters_description#:#The first input is the name of the parameter. The second one is the value. The output will be something like URL?name1=value1&name2=value2 +get_param_name#:#MISSING +get_param_value#:#MISSING +gui_class#:#GUI Classes, comma-separated +list_title#:#Menu Entries +new_page#:#New Window +not_visible_for_admin#:#

For current user not visible.

+no_childs#:#

Not visible because no Entries.

permission_type#:#Select Access Type -create#:#Save and close -perm_none#:#No Access Control perm_input#:#Input: -perm_role#:#Restrict to Role -perm_role_exeption#:#All Roles except the following +perm_input_locale#:#Locale Roles +perm_input_locale_info#:#Enter IDs of locale Roles commaseperated +perm_input_script_class#:#Class Name +perm_input_script_method#:#Method Name +perm_input_script_path#:#Script Path +perm_input_user#:#User-IDs +perm_input_user_info#:#User-IDs commaseperated +perm_none#:#No Access Control perm_ref_read#:#Read Permission to Ref-ID perm_ref_write#:#Write Permission to Ref-ID +perm_role#:#Restrict to Role +perm_role_exeption#:#All Roles except the following perm_script#:#Check Permission per Script (Advanced Option) -perm_input_script_path#:#Script Path -perm_input_script_class#:#Class Name -perm_input_script_method#:#Method Name - -get_parameters#:#URL-Parameters -get_parameters_description#:#The first input is the name of the parameter. The second one is the value. The output will be something like URL?name1=value1&name2=value2 - -gui_class#:#GUI Classes, comma-separated -cmd#:#Command - +perm_userid#:#Only for some Users +qst_delete_entry#:#Are you sure that you want to delete the following entry? +ref_id#:#Ref-ID +replace_full_header#:#Replace Full Header (experimental) +same_page#:#Same Window +save_sorting#:#Save Order +select_type#:#Select Type +settentr_button_save#:#Save +show_icons#:#Show icons +show_logout#:#Show logout +show_with_no_children#:#Show also with no child elements +simple_form_validation#:#Activate Simple Form-Validation (experimental) +sorting_saved#:#Order save +tabs_title_childs#:#Edit Dropdown +tab_main#:#Edit Entries +title_de#:#German Title +title_en#:#English Title +title_fr#:#French Title +title_it#:#Italien Title +type_admin#:#Administration +type_auth#:#Authentication type_ctrl#:#ilCtrl -type_link#:#URL +type_desktop#:#Personal Desktop type_dropdown#:#Dropdown -type_refid#:#Ref-ID -type_admin#:#Administration type_lastvisited#:#Last Visited +type_link#:#URL +type_refid#:#Ref-ID type_repository#:#Repository -type_desktop#:#Personal Desktop -type_settings#:#User Settings -type_separator#:#Separator type_search#:#Quick-Search +type_separator#:#Separator +type_settings#:#User Settings type_statusbox#:#Mail-Status -type_auth#:#Authentication type_subtitle#:#Subtitle - -title_en#:#English Title -title_de#:#German Title -title_fr#:#French Title -title_it#:#Italien Title -settings#:#Type Specific Settings -link#:#URL -target#:#Target -ref_id#:#Ref-ID -entry_added#:#Entry added -entry_updated#:#Entry updated -entry_deleted#:#Entry deleted -qst_delete_entry#:#Are you sure that you want to delete the following entry? -edit_childs#:#Edit Entries - -back_to_main#:#Back -tabs_title_childs#:#Edit Dropdown -tab_main#:#Edit Entries +update_cache_settings#:#Save use_image#:#Use Arrow Image use_user_image#:#Use User-Image as Title - -same_page#:#Same Window -new_page#:#New Window -not_visible_for_admin#:#

For current user not visible.

-no_childs#:#

Not visible because no Entries.

-css_settings#:#CSS Settings -recursive#:#Entry should be active even at sub-objects - -conf_saved#:#Saved -create_and_stay#:#Save -perm_input_locale#:#Locale Roles -perm_input_locale_info#:#Enter IDs of locale Roles commaseperated -perm_userid#:#Only for some Users -perm_input_user#:#User-IDs -perm_input_user_info#:#User-IDs commaseperated - -show_logout#:#Show logout - -show_icons#:#Show icons - -doubleclick_prevention#:#Prevent Doubleclicks (experimental) -simple_form_validation#:#Activate Simple Form-Validation (experimental) - -settentr_button_save#:#Save -replace_full_header#:#Replace Full Header (experimental) - -cache_settings#:#Cache -update_cache_settings#:#Save -cache_settings_updated#:#Cache-Settings saved -activate_cache#:#Activate GlobalCache (experimental) -activate_cache_info#:#Entries will be stores i Webserver's Memory for 120 seconds. -cache_cleared#:#Cache cleared -clear_cache#:#Clear Cache - -show_with_no_children#:#Show also with no child elements \ No newline at end of file +disable_active#:#Disable active entries diff --git a/lang/ilias_hu.lang b/lang/ilias_hu.lang index e457478..cd5fc2e 100644 --- a/lang/ilias_hu.lang +++ b/lang/ilias_hu.lang @@ -1,106 +1,95 @@ -list_title#:#Menübejegyzések -title#:#Cím -type#:#Típus -css_prefix#:#CSS előtag -configuration#:#Beállítások -add_new#:#új bejegyzés létrehozása -save_sorting#:#Sorrend mentése -sorting_saved#:#Sorrendet sikeresen mentette +common_actions#:#M?veletek +common_cancel#:#Mégsem +common_cmd#:#Parancs +common_configuration#:#Beállítások +common_create#:#Mentés és bezárása +common_delete#:#Törlés +common_edit#:#Módosítás +common_link#:#URL +common_recursive#:#Bejegyzés legyen aktív, alobjektumoknál is +common_select#:#Típus választása +common_settings#:#Típusfügg? beállítások +common_target#:#Cél +common_title#:#Cím +common_type#:#Típus +activate_cache#:#GlobalCache aktiválása (kísérleti) +activate_cache_info#:#Bejegyzéseket a webszerver memóriájában tároljuk 120 másodpercig. +add_new#:#Új bejegyzés +back_to_main#:#Vissza +cache_cleared#:#Gyorsítótárat sikeresen ürítette +cache_settings#:#Gyorsítótár +cache_settings_updated#:#Gyorsítótár beállításait sikeresen mentette +clear_cache#:#Gyorsítótár ürítése +conf_saved#:#Beállításokat sikeren mentette +create_and_stay#:#Mentés css_active#:#Aktív CSS osztály css_inactive#:#Inaktív CSS osztály -actions#:#Műveletek -edit#:#Módosítás -delete#:#Törlés -add_new#:#Új bejegyzés -select#:#Típus választása -cancel#:#Mégsem -select_type#:#Válasszon típust +css_prefix#:#CSS el?tag +css_settings#:#CSS beállítások +doubleclick_prevention#:#Dupla kattintás megakadályozása (kísérleti) +edit_childs#:#Bejegyzések módosítása +entry_added#:#Bejegyzést sikeres létrehozta +entry_deleted#:#Bejegyzést sikeres törölte +entry_updated#:#Bejegyzést sikeres frissítette form_title#:#Új bejegyzése létrehozása +get_parameters#:#URL paraméterek +get_parameters_description#:#Az els? bemenet a paraméter megnevezése, a második az értéke. A kimenet valami ilyesmi lesz: URL?megnevezés1=érték1&megnevezés2=érték2 +get_param_name#:#MISSING +get_param_value#:#MISSING +gui_class#:#GUI osztályok, vessz?vel elválasztva +list_title#:#Menübejegyzések +new_page#:#Új ablak +not_visible_for_admin#:#

Jelenlegi felhasználó nem láthatja.

+no_childs#:#

Nem látható, mert egy bejegyzés sincs.

permission_type#:#Hozzáférési típus kiválasztása -create#:#Mentés és bezárása -perm_none#:#Elérés nincs korlátozva perm_input#:#Bemenet: -perm_role#:#Szerep szerinti korlátozás -perm_role_exeption#:#Összes szerep, kivéve az alábbiak -perm_ref_read#:#Olvasási hozzáférés a Ref-ID-nek -perm_ref_write#:#Írási hozzáférés a Ref-ID-nek -perm_script#:#Jogosultság ellenőrzése szkripttel (haladó beállítás) -perm_input_script_path#:#Szkript útvonala +perm_input_locale#:#Role-ID-k +perm_input_locale_info#:#Helyi szerepek azonosítója, vessz?vel elválasztva perm_input_script_class#:#Osztály neve perm_input_script_method#:#Módszer neve - -get_parameters#:#URL paraméterek -get_parameters_description#:#Az első bemenet a paraméter megnevezése, a második az értéke. A kimenet valami ilyesmi lesz: URL?megnevezés1=érték1&megnevezés2=érték2 - -gui_class#:#GUI osztályok, vesszővel elválasztva -cmd#:#Parancs - +perm_input_script_path#:#Szkript útvonala +perm_input_user#:#User-ID-k +perm_input_user_info#:#Felhasználók azonosítója, vessz?vel elválasztva +perm_none#:#Elérés nincs korlátozva +perm_ref_read#:#Olvasási hozzáférés a Ref-ID-nek +perm_ref_write#:#Írási hozzáférés a Ref-ID-nek +perm_role#:#Szerep szerinti korlátozás +perm_role_exeption#:#Összes szerep, kivéve az alábbiak +perm_script#:#Jogosultság ellen?rzése szkripttel (haladó beállítás) +perm_userid#:#Csak néhány felhasználó +qst_delete_entry#:#Biztos, hogy törli a következ? bejegyzést? +ref_id#:#Ref-ID +replace_full_header#:#Fejléc teljes cseréje (kísérleti) +same_page#:#Ugyanaz az ablak +save_sorting#:#Sorrend mentése +select_type#:#Válasszon típust +settentr_button_save#:#Mentés +show_icons#:#Ikonok megjelenítése +show_logout#:#Kijelentkezés megjelenítése +show_with_no_children#:#Gyermekelemek nélküliek is jelenjenek meg +simple_form_validation#:#Egyszer? ?rlapellen?rzés bekapcsolása (kísérleti) +sorting_saved#:#Sorrendet sikeresen mentette +tabs_title_childs#:#Legördül? módosítása +tab_main#:#Bejegyzések módosítása +title_de#:#Cím németül +title_en#:#Cím angolul +title_fr#:#Cím franciául +title_it#:#Cím olaszul +type_admin#:#Rendszerbeállítás +type_auth#:#Hitelesítés type_ctrl#:#ilCtrl +type_desktop#:#Személyes munkaasztal +type_dropdown#:#Legördül? +type_lastvisited#:#Utoljára látogatott type_link#:#URL -type_dropdown#:#Legördülő type_refid#:#Ref-ID -type_admin#:#Rendszerbeállítás -type_lastvisited#:#Utoljára látogatott type_repository#:#Taneszköztároló -type_desktop#:#Személyes munkaasztal -type_settings#:#Felhasználói beállítások -type_separator#:#Szeparátor type_search#:#Gyors keresés +type_separator#:#Szeparátor +type_settings#:#Felhasználói beállítások type_statusbox#:#Levél állapot -type_auth#:#Hitelesítés type_subtitle#:#Alcím - -title_en#:#Cím angolul -title_de#:#Cím németül -title_fr#:#Cím franciául -title_it#:#Cím olaszul -settings#:#Típusfüggő beállítások -link#:#URL -target#:#Cél -ref_id#:#Ref-ID -entry_added#:#Bejegyzést sikeres létrehozta -entry_updated#:#Bejegyzést sikeres frissítette -entry_deleted#:#Bejegyzést sikeres törölte -qst_delete_entry#:#Biztos, hogy törli a következő bejegyzést? -edit_childs#:#Bejegyzések módosítása - -back_to_main#:#Vissza -tabs_title_childs#:#Legördülő módosítása -tab_main#:#Bejegyzések módosítása +update_cache_settings#:#Mentés use_image#:#Nyíl kép használata use_user_image#:#Felhasználói kép használata címként - -same_page#:#Ugyanaz az ablak -new_page#:#Új ablak -not_visible_for_admin#:#

Jelenlegi felhasználó nem láthatja.

-no_childs#:#

Nem látható, mert egy bejegyzés sincs.

-css_settings#:#CSS beállítások -recursive#:#Bejegyzés legyen aktív, alobjektumoknál is - -conf_saved#:#Beállításokat sikeren mentette -create_and_stay#:#Mentés -perm_input_locale#:#Role-ID-k -perm_input_locale_info#:#Helyi szerepek azonosítója, vesszővel elválasztva -perm_userid#:#Csak néhány felhasználó -perm_input_user#:#User-ID-k -perm_input_user_info#:#Felhasználók azonosítója, vesszővel elválasztva - -show_logout#:#Kijelentkezés megjelenítése - -show_icons#:#Ikonok megjelenítése - -doubleclick_prevention#:#Dupla kattintás megakadályozása (kísérleti) -simple_form_validation#:#Egyszerű űrlapellenőrzés bekapcsolása (kísérleti) - -settentr_button_save#:#Mentés -replace_full_header#:#Fejléc teljes cseréje (kísérleti) - -cache_settings#:#Gyorsítótár -update_cache_settings#:#Mentés -cache_settings_updated#:#Gyorsítótár beállításait sikeresen mentette -activate_cache#:#GlobalCache aktiválása (kísérleti) -activate_cache_info#:#Bejegyzéseket a webszerver memóriájában tároljuk 120 másodpercig. -cache_cleared#:#Gyorsítótárat sikeresen ürítette -clear_cache#:#Gyorsítótár ürítése - -show_with_no_children#:#Gyermekelemek nélküliek is jelenjenek meg +disable_active#:#MISSING diff --git a/lang/ilias_nl.lang b/lang/ilias_nl.lang index 5ba7461..23b2e96 100644 --- a/lang/ilias_nl.lang +++ b/lang/ilias_nl.lang @@ -1,107 +1,96 @@ -list_title#:#Menu Items -title#:#Titel -type#:#Type +common_actions#:#Acties +common_cancel#:#Anuleren +common_cmd#:#Commando +common_configuration#:#Configuratie +common_create#:#Opslaan +common_delete#:#Verwijderen +common_edit#:#Wijzigen +common_link#:#URL +common_recursive#:#Item moet actief zijn, zelfs bij sub-objecten +common_select#:#Selecteren Type +common_settings#:#Specifieke instellingen +common_target#:#Doel +common_title#:#Titel +common_type#:#Type +activate_cache#:#Inschakelen GlobalCache (experimenteel) +activate_cache_info#:#Entries zullen worden opgeslagen in Webserver's geheugen voor 120 seconden. +add_new#:#Toevoegen Item +back_to_main#:#Terug +cache_cleared#:#Cache geleegd +cache_settings#:#Cache +cache_settings_updated#:#Cache-Settings opgeslagen +clear_cache#:#Legen van Cache +conf_saved#:#Opgeslagen +create_and_stay#:#Opslaan +css_active#:#Actieve CSS Class +css_inactive#:#Inactieve CSS Class css_prefix#:#CSS Prefix -configuration#:#Configuratie -add_new#:#Toevoegen nieuw item -save_sorting#:#Volgorde Opslaan -sorting_saved#:#Volgorde Opslaan -css_active#:#Actieve CSS Class -css_inactive#:#Inactieve CSS Class -actions#:#Acties -edit#:#Wijzigen -delete#:#Verwijderen -add_new#:#Toevoegen Item -select#:#Selecteren Type -cancel#:#Anuleren -select_type#:#Selecteer Type +css_settings#:#CSS Instellingen +doubleclick_prevention#:#Voorkom dubbelklikken (experimenteel) +edit_childs#:#Items wijzigen +entry_added#:#Item toegevoegd +entry_deleted#:#Item verwijderd +entry_updated#:#Item gewijzigd form_title#:#Toevoegen nieuw item +get_parameters#:#URL-Parameters +get_parameters_description#:#De eerste input is de naam van de parameter. The tweede is de waarde. De output is iets als: URL?name1=waarde1&name2=waarde2 +get_param_name#:#MISSING +get_param_value#:#MISSING +gui_class#:#GUI Classes, comma-separated +list_title#:#Menu Items +new_page#:#Nieuw Window +not_visible_for_admin#:#

Niet zichtbaar voor huidige gebruiker

+no_childs#:#

Niet zichtbaar omdat er geen items zijn

permission_type#:#Selecteer Toegangsbeperkingen -create#:#Opslaan -perm_none#:#Geen toegangsbeperkingen perm_input#:#Input: -perm_role#:#Beperkt tot rol -perm_role_exeption#:#Alle rollen behalve de volgende +perm_input_locale#:#Lokale Rollen +perm_input_locale_info#:#Geef ID's van lokale rollen in(gescheiden door komma's) +perm_input_script_class#:#Class Naam +perm_input_script_method#:#Method Naam +perm_input_script_path#:#Script Pad +perm_input_user#:#User-IDs +perm_input_user_info#:#User-IDs gescheiden door komma's +perm_none#:#Geen toegangsbeperkingen perm_ref_read#:#Leestoegang op Ref-ID perm_ref_write#:#Schrijftoegang op Ref-ID +perm_role#:#Beperkt tot rol +perm_role_exeption#:#Alle rollen behalve de volgende perm_script#:#Controleer rechten per script (Geavanceerd) -perm_input_script_path#:#Script Pad -perm_input_script_class#:#Class Naam -perm_input_script_method#:#Method Naam - -get_parameters#:#URL-Parameters -get_parameters_description#:#De eerste input is de naam van de parameter. The tweede is de waarde. De output is iets als: URL?name1=waarde1&name2=waarde2 - -gui_class#:#GUI Classes, comma-separated -cmd#:#Commando - +perm_userid#:#Alleen voor sommige gebruikers +qst_delete_entry#:#Weet je zeker dat je het volgende item wilt verwijderen? +ref_id#:#Ref-ID +replace_full_header#:#Volledige Header vervangen (experimenteel) +same_page#:#Zelfde Window +save_sorting#:#Volgorde Opslaan +select_type#:#Selecteer Type +settentr_button_save#:#Opslaan +show_icons#:#Iconen tonen +show_logout#:#Logout tonen +show_with_no_children#:#Ook tonen als er geen kind elementen zijn +simple_form_validation#:#Inschakelen eenvoudige formuliervalidatie (experimenteel) +sorting_saved#:#Volgorde Opslaan +tabs_title_childs#:#Wijzigen dropdown +tab_main#:#Wijzigen items +title_de#:#Duitste Titel +title_en#:#Engelse Titel +title_fr#:#Franse Titel +title_it#:#Italiaanse Titel +title_nl#:#Nederlandse Titel +type_admin#:#Beheer +type_auth#:#Authenticatie type_ctrl#:#ilCtrl -type_link#:#URL +type_desktop#:#Persoonlijk Scherm type_dropdown#:#Dropdown -type_refid#:#Ref-ID -type_admin#:#Beheer type_lastvisited#:#Laatste bezocht +type_link#:#URL +type_refid#:#Ref-ID type_repository#:#Studiecentrum -type_desktop#:#Persoonlijk Scherm -type_settings#:#Gebruikersinstellingen -type_separator#:#Scheiding type_search#:#Snel-zoeken +type_separator#:#Scheiding +type_settings#:#Gebruikersinstellingen type_statusbox#:#E-mail-Status -type_auth#:#Authenticatie type_subtitle#:#Subtitel - -title_en#:#Engelse Titel -title_de#:#Duitste Titel -title_fr#:#Franse Titel -title_it#:#Italiaanse Titel -title_nl#:#Nederlandse Titel -settings#:#Specifieke instellingen -link#:#URL -target#:#Doel -ref_id#:#Ref-ID -entry_added#:#Item toegevoegd -entry_updated#:#Item gewijzigd -entry_deleted#:#Item verwijderd -qst_delete_entry#:#Weet je zeker dat je het volgende item wilt verwijderen? -edit_childs#:#Items wijzigen - -back_to_main#:#Terug -tabs_title_childs#:#Wijzigen dropdown -tab_main#:#Wijzigen items +update_cache_settings#:#Opslaan use_image#:#Gebruiken van pijlafbeelding use_user_image#:#Gebruik Gebruikersafbeelding als titel - -same_page#:#Zelfde Window -new_page#:#Nieuw Window -not_visible_for_admin#:#

Niet zichtbaar voor huidige gebruiker

-no_childs#:#

Niet zichtbaar omdat er geen items zijn

-css_settings#:#CSS Instellingen -recursive#:#Item moet actief zijn, zelfs bij sub-objecten - -conf_saved#:#Opgeslagen -create_and_stay#:#Opslaan -perm_input_locale#:#Lokale Rollen -perm_input_locale_info#:#Geef ID's van lokale rollen in(gescheiden door komma's) -perm_userid#:#Alleen voor sommige gebruikers -perm_input_user#:#User-IDs -perm_input_user_info#:#User-IDs gescheiden door komma's - -show_logout#:#Logout tonen - -show_icons#:#Iconen tonen - -doubleclick_prevention#:#Voorkom dubbelklikken (experimenteel) -simple_form_validation#:#Inschakelen eenvoudige formuliervalidatie (experimenteel) - -settentr_button_save#:#Opslaan -replace_full_header#:#Volledige Header vervangen (experimenteel) - -cache_settings#:#Cache -update_cache_settings#:#Opslaan -cache_settings_updated#:#Cache-Settings opgeslagen -activate_cache#:#Inschakelen GlobalCache (experimenteel) -activate_cache_info#:#Entries zullen worden opgeslagen in Webserver's geheugen voor 120 seconden. -cache_cleared#:#Cache geleegd -clear_cache#:#Legen van Cache - -show_with_no_children#:#Ook tonen als er geen kind elementen zijn \ No newline at end of file +disable_active#:#MISSING diff --git a/lang/lang.json b/lang/lang.json new file mode 100644 index 0000000..01ffba1 --- /dev/null +++ b/lang/lang.json @@ -0,0 +1,919 @@ +{ + "plugin_prefix": "ui_uihk_ctrlmm", + "languages": [ + "de", + "en", + "hu", + "nl" + ], + "entries": { + "common": { + "actions": { + "translations": { + "de": "Aktionen", + "en": "Actions", + "hu": "M?veletek", + "nl": "Acties" + }, + "last_used": "13.04.2016" + }, + "cancel": { + "translations": { + "de": "Abbrechen", + "en": "Cancel", + "hu": "M\u00e9gsem", + "nl": "Anuleren" + }, + "last_used": "13.04.2016" + }, + "cmd": { + "translations": { + "de": "Command", + "en": "Command", + "hu": "Parancs", + "nl": "Commando" + } + }, + "configuration": { + "translations": { + "de": "Konfiguration", + "en": "Configuration", + "hu": "Be\u00e1ll\u00edt\u00e1sok", + "nl": "Configuratie" + }, + "last_used": "13.04.2016" + }, + "create": { + "translations": { + "de": "Speichern und schliessen", + "en": "Save and close", + "hu": "Ment\u00e9s \u00e9s bez\u00e1r\u00e1sa", + "nl": "Opslaan" + }, + "last_used": "13.04.2016" + }, + "delete": { + "translations": { + "de": "L\u00f6schen", + "en": "Delete", + "hu": "T\u00f6rl\u00e9s", + "nl": "Verwijderen" + }, + "last_used": "13.04.2016" + }, + "edit": { + "translations": { + "de": "Bearbeiten", + "en": "Edit", + "hu": "M\u00f3dos\u00edt\u00e1s", + "nl": "Wijzigen" + }, + "last_used": "13.04.2016" + }, + "link": { + "translations": { + "de": "URL", + "en": "URL", + "hu": "URL", + "nl": "URL" + }, + "last_used": "13.04.2016" + }, + "recursive": { + "translations": { + "de": "Men\u00fc-Eintrag soll auch bei Unterobjekten Aktiv sein", + "en": "Entry should be active even at sub-objects", + "hu": "Bejegyz\u00e9s legyen akt\u00edv, alobjektumokn\u00e1l is", + "nl": "Item moet actief zijn, zelfs bij sub-objecten" + } + }, + "select": { + "translations": { + "de": "Typ w\u00e4hlen", + "en": "Select Type", + "hu": "T\u00edpus v\u00e1laszt\u00e1sa", + "nl": "Selecteren Type" + }, + "last_used": "13.04.2016" + }, + "settings": { + "translations": { + "de": "Typ-spezifische Einstellungen", + "en": "Type Specific Settings", + "hu": "T\u00edpusf\u00fcgg? be\u00e1ll\u00edt\u00e1sok", + "nl": "Specifieke instellingen" + }, + "last_used": "13.04.2016" + }, + "target": { + "translations": { + "de": "Linkziel", + "en": "Target", + "hu": "C\u00e9l", + "nl": "Doel" + }, + "last_used": "13.04.2016" + }, + "title": { + "translations": { + "de": "Titel", + "en": "Title", + "hu": "C\u00edm", + "nl": "Titel" + }, + "last_used": "13.04.2016" + }, + "type": { + "translations": { + "de": "Typ", + "en": "Type", + "hu": "T\u00edpus", + "nl": "Type" + }, + "last_used": "13.04.2016" + } + }, + "activate": { + "cache": { + "translations": { + "de": "GlobalCache aktivieren (experimental)", + "en": "Activate GlobalCache (experimental)", + "hu": "GlobalCache aktiv\u00e1l\u00e1sa (k\u00eds\u00e9rleti)", + "nl": "Inschakelen GlobalCache (experimenteel)" + } + }, + "cache_info": { + "translations": { + "de": "Eintr\u00e4ge werden f\u00fcr 120 Sekunden im Memory des Webservers gespeichert.", + "en": "Entries will be stores i Webserver's Memory for 120 seconds.", + "hu": "Bejegyz\u00e9seket a webszerver mem\u00f3ri\u00e1j\u00e1ban t\u00e1roljuk 120 m\u00e1sodpercig.", + "nl": "Entries zullen worden opgeslagen in Webserver's geheugen voor 120 seconden." + } + } + }, + "add": { + "new": { + "translations": { + "de": "Eintrag hinzuf\u00fcgen", + "en": "Add Entry", + "hu": "\u00daj bejegyz\u00e9s", + "nl": "Toevoegen Item" + }, + "last_used": "13.04.2016" + } + }, + "back": { + "to_main": { + "translations": { + "de": "Hauptmenu bearbeiten", + "en": "Back", + "hu": "Vissza", + "nl": "Terug" + } + } + }, + "cache": { + "cleared": { + "translations": { + "de": "Cache gel\u00f6scht", + "en": "Cache cleared", + "hu": "Gyors\u00edt\u00f3t\u00e1rat sikeresen \u00fcr\u00edtette", + "nl": "Cache geleegd" + } + }, + "settings": { + "translations": { + "de": "Cache", + "en": "Cache", + "hu": "Gyors\u00edt\u00f3t\u00e1r", + "nl": "Cache" + }, + "last_used": "13.04.2016" + }, + "settings_updated": { + "translations": { + "de": "Cache-Settings gespeichert", + "en": "Cache-Settings saved", + "hu": "Gyors\u00edt\u00f3t\u00e1r be\u00e1ll\u00edt\u00e1sait sikeresen mentette", + "nl": "Cache-Settings opgeslagen" + } + } + }, + "clear": { + "cache": { + "translations": { + "de": "Cache l\u00f6schen", + "en": "Clear Cache", + "hu": "Gyors\u00edt\u00f3t\u00e1r \u00fcr\u00edt\u00e9se", + "nl": "Legen van Cache" + } + } + }, + "conf": { + "saved": { + "translations": { + "de": "Gespeichert", + "en": "Saved", + "hu": "Be\u00e1ll\u00edt\u00e1sokat sikeren mentette", + "nl": "Opgeslagen" + } + } + }, + "create": { + "and_stay": { + "translations": { + "de": "Speichern", + "en": "Save", + "hu": "Ment\u00e9s", + "nl": "Opslaan" + }, + "last_used": "13.04.2016" + } + }, + "css": { + "active": { + "translations": { + "de": "CSS-Klasse aktiv", + "en": "CSS Class active", + "hu": "Akt\u00edv CSS oszt\u00e1ly", + "nl": "Actieve CSS Class" + }, + "last_used": "13.04.2016" + }, + "inactive": { + "translations": { + "de": "CSS-Klasse inaktiv", + "en": "CSS Class inactive", + "hu": "Inakt\u00edv CSS oszt\u00e1ly", + "nl": "Inactieve CSS Class" + }, + "last_used": "13.04.2016" + }, + "prefix": { + "translations": { + "de": "CSS-Prefix", + "en": "CSS Prefix", + "hu": "CSS el?tag", + "nl": "CSS Prefix" + }, + "last_used": "13.04.2016" + }, + "settings": { + "translations": { + "de": "CSS-Einstellungen", + "en": "CSS Settings", + "hu": "CSS be\u00e1ll\u00edt\u00e1sok", + "nl": "CSS Instellingen" + }, + "last_used": "13.04.2016" + } + }, + "doubleclick": { + "prevention": { + "translations": { + "de": "Verhindere Doppelklicks systemweit (experimental)", + "en": "Prevent Doubleclicks (experimental)", + "hu": "Dupla kattint\u00e1s megakad\u00e1lyoz\u00e1sa (k\u00eds\u00e9rleti)", + "nl": "Voorkom dubbelklikken (experimenteel)" + } + } + }, + "edit": { + "childs": { + "translations": { + "de": "Eintr\u00e4ge bearbeiten", + "en": "Edit Entries", + "hu": "Bejegyz\u00e9sek m\u00f3dos\u00edt\u00e1sa", + "nl": "Items wijzigen" + } + } + }, + "entry": { + "added": { + "translations": { + "de": "Eintrag wurde hinzugef\u00fcgt", + "en": "Entry added", + "hu": "Bejegyz\u00e9st sikeres l\u00e9trehozta", + "nl": "Item toegevoegd" + } + }, + "deleted": { + "translations": { + "de": "Eintrag wurde gel\u00f6scht", + "en": "Entry deleted", + "hu": "Bejegyz\u00e9st sikeres t\u00f6r\u00f6lte", + "nl": "Item verwijderd" + } + }, + "updated": { + "translations": { + "de": "Eintrag wurde aktualisiert", + "en": "Entry updated", + "hu": "Bejegyz\u00e9st sikeres friss\u00edtette", + "nl": "Item gewijzigd" + }, + "last_used": "13.04.2016" + } + }, + "form": { + "title": { + "translations": { + "de": "Eintrag erstellen", + "en": "Add New Entry", + "hu": "\u00daj bejegyz\u00e9se l\u00e9trehoz\u00e1sa", + "nl": "Toevoegen nieuw item" + }, + "last_used": "13.04.2016" + } + }, + "get": { + "parameters": { + "translations": { + "de": "URL-Parameter", + "en": "URL-Parameters", + "hu": "URL param\u00e9terek", + "nl": "URL-Parameters" + }, + "last_used": "13.04.2016" + }, + "parameters_description": { + "translations": { + "de": "Das erste Eingabefeld definiert den Namen des Parameters. Das Zweite den entsprechenden Wert. Die Ausgabe wird dann in die Form URL?name1=value1&name2=value2 umgewandelt.", + "en": "The first input is the name of the parameter. The second one is the value. The output will be something like URL?name1=value1&name2=value2", + "hu": "Az els? bemenet a param\u00e9ter megnevez\u00e9se, a m\u00e1sodik az \u00e9rt\u00e9ke. A kimenet valami ilyesmi lesz: URL?megnevez\u00e9s1=\u00e9rt\u00e9k1&megnevez\u00e9s2=\u00e9rt\u00e9k2", + "nl": "De eerste input is de naam van de parameter. The tweede is de waarde. De output is iets als: URL?name1=waarde1&name2=waarde2" + }, + "last_used": "13.04.2016" + }, + "param_name": { + "translations": { + "de": "MISSING", + "en": "MISSING", + "hu": "MISSING", + "nl": "MISSING" + } + }, + "param_value": { + "translations": { + "de": "MISSING", + "en": "MISSING", + "hu": "MISSING", + "nl": "MISSING" + } + } + }, + "gui": { + "class": { + "translations": { + "de": "GUI-Klassen, komma-separiert", + "en": "GUI Classes, comma-separated", + "hu": "GUI oszt\u00e1lyok, vessz?vel elv\u00e1lasztva", + "nl": "GUI Classes, comma-separated" + } + } + }, + "list": { + "title": { + "translations": { + "de": "Menu-Eintr\u00e4ge", + "en": "Menu Entries", + "hu": "Men\u00fcbejegyz\u00e9sek", + "nl": "Menu Items" + }, + "last_used": "13.04.2016" + } + }, + "new": { + "page": { + "translations": { + "de": "Neue Seite", + "en": "New Window", + "hu": "\u00daj ablak", + "nl": "Nieuw Window" + }, + "last_used": "13.04.2016" + } + }, + "not": { + "visible_for_admin": { + "translations": { + "de": "

F\u00fcr aktuellen Benutzer nicht sichtbar.<\/p>", + "en": "

For current user not visible.<\/p>", + "hu": "

Jelenlegi felhaszn\u00e1l\u00f3 nem l\u00e1thatja.<\/p>", + "nl": "

Niet zichtbaar voor huidige gebruiker<\/p>" + } + } + }, + "no": { + "childs": { + "translations": { + "de": "

Nicht sichtbar, da keine Eintr\u00e4ge.<\/p>", + "en": "

Not visible because no Entries.<\/p>", + "hu": "

Nem l\u00e1that\u00f3, mert egy bejegyz\u00e9s sincs.<\/p>", + "nl": "

Niet zichtbaar omdat er geen items zijn<\/p>" + } + } + }, + "permission": { + "type": { + "translations": { + "de": "Zugriff w\u00e4hlen", + "en": "Select Access Type", + "hu": "Hozz\u00e1f\u00e9r\u00e9si t\u00edpus kiv\u00e1laszt\u00e1sa", + "nl": "Selecteer Toegangsbeperkingen" + }, + "last_used": "13.04.2016" + } + }, + "perm": { + "input": { + "translations": { + "de": "Eingabe:", + "en": "Input:", + "hu": "Bemenet:", + "nl": "Input:" + }, + "last_used": "13.04.2016" + }, + "input_locale": { + "translations": { + "de": "Lokale Rollen", + "en": "Locale Roles", + "hu": "Role-ID-k", + "nl": "Lokale Rollen" + }, + "last_used": "13.04.2016" + }, + "input_locale_info": { + "translations": { + "de": "IDs von lokalen Rollen kommasepariert", + "en": "Enter IDs of locale Roles commaseperated", + "hu": "Helyi szerepek azonos\u00edt\u00f3ja, vessz?vel elv\u00e1lasztva", + "nl": "Geef ID's van lokale rollen in(gescheiden door komma's)" + }, + "last_used": "13.04.2016" + }, + "input_script_class": { + "translations": { + "de": "Klassenname", + "en": "Class Name", + "hu": "Oszt\u00e1ly neve", + "nl": "Class Naam" + }, + "last_used": "13.04.2016" + }, + "input_script_method": { + "translations": { + "de": "Methodenname", + "en": "Method Name", + "hu": "M\u00f3dszer neve", + "nl": "Method Naam" + }, + "last_used": "13.04.2016" + }, + "input_script_path": { + "translations": { + "de": "Skriptpfad", + "en": "Script Path", + "hu": "Szkript \u00fatvonala", + "nl": "Script Pad" + }, + "last_used": "13.04.2016" + }, + "input_user": { + "translations": { + "de": "Benutzer-IDs", + "en": "User-IDs", + "hu": "User-ID-k", + "nl": "User-IDs" + }, + "last_used": "13.04.2016" + }, + "input_user_info": { + "translations": { + "de": "Benutzer-IDs kommasepariert", + "en": "User-IDs commaseperated", + "hu": "Felhaszn\u00e1l\u00f3k azonos\u00edt\u00f3ja, vessz?vel elv\u00e1lasztva", + "nl": "User-IDs gescheiden door komma's" + }, + "last_used": "13.04.2016" + }, + "none": { + "translations": { + "de": "Keine Zugriffsregelung", + "en": "No Access Control", + "hu": "El\u00e9r\u00e9s nincs korl\u00e1tozva", + "nl": "Geen toegangsbeperkingen" + }, + "last_used": "13.04.2016" + }, + "ref_read": { + "translations": { + "de": "Leserecht auf RefID", + "en": "Read Permission to Ref-ID", + "hu": "Olvas\u00e1si hozz\u00e1f\u00e9r\u00e9s a Ref-ID-nek", + "nl": "Leestoegang op Ref-ID" + }, + "last_used": "13.04.2016" + }, + "ref_write": { + "translations": { + "de": "Schreibrecht auf RefID", + "en": "Write Permission to Ref-ID", + "hu": "\u00cdr\u00e1si hozz\u00e1f\u00e9r\u00e9s a Ref-ID-nek", + "nl": "Schrijftoegang op Ref-ID" + }, + "last_used": "13.04.2016" + }, + "role": { + "translations": { + "de": "Auf Rollen-IDs einschr\u00e4nken", + "en": "Restrict to Role", + "hu": "Szerep szerinti korl\u00e1toz\u00e1s", + "nl": "Beperkt tot rol" + }, + "last_used": "13.04.2016" + }, + "role_exeption": { + "translations": { + "de": "Alle Rollen-IDs ausser die Genannten", + "en": "All Roles except the following", + "hu": "\u00d6sszes szerep, kiv\u00e9ve az al\u00e1bbiak", + "nl": "Alle rollen behalve de volgende" + }, + "last_used": "13.04.2016" + }, + "script": { + "translations": { + "de": "Zugriffsrecht per Skript pr\u00fcfen", + "en": "Check Permission per Script (Advanced Option)", + "hu": "Jogosults\u00e1g ellen?rz\u00e9se szkripttel (halad\u00f3 be\u00e1ll\u00edt\u00e1s)", + "nl": "Controleer rechten per script (Geavanceerd)" + }, + "last_used": "13.04.2016" + }, + "userid": { + "translations": { + "de": "Einschr\u00e4nkung auf Benutzer", + "en": "Only for some Users", + "hu": "Csak n\u00e9h\u00e1ny felhaszn\u00e1l\u00f3", + "nl": "Alleen voor sommige gebruikers" + }, + "last_used": "13.04.2016" + } + }, + "qst": { + "delete_entry": { + "translations": { + "de": "M\u00f6chten Sie den folgenden Eintrag wirklich l\u00f6schen?", + "en": "Are you sure that you want to delete the following entry?", + "hu": "Biztos, hogy t\u00f6rli a k\u00f6vetkez? bejegyz\u00e9st?", + "nl": "Weet je zeker dat je het volgende item wilt verwijderen?" + } + } + }, + "ref": { + "id": { + "translations": { + "de": "Ref-ID", + "en": "Ref-ID", + "hu": "Ref-ID", + "nl": "Ref-ID" + } + } + }, + "replace": { + "full_header": { + "translations": { + "de": "Ganzen Header ersetzen (experimental)", + "en": "Replace Full Header (experimental)", + "hu": "Fejl\u00e9c teljes cser\u00e9je (k\u00eds\u00e9rleti)", + "nl": "Volledige Header vervangen (experimenteel)" + }, + "last_used": "13.04.2016" + } + }, + "same": { + "page": { + "translations": { + "de": "Gleiche Seite", + "en": "Same Window", + "hu": "Ugyanaz az ablak", + "nl": "Zelfde Window" + }, + "last_used": "13.04.2016" + } + }, + "save": { + "sorting": { + "translations": { + "de": "Reihenfolge speichern", + "en": "Save Order", + "hu": "Sorrend ment\u00e9se", + "nl": "Volgorde Opslaan" + }, + "last_used": "13.04.2016" + } + }, + "select": { + "type": { + "translations": { + "de": "Typ w\u00e4hlen", + "en": "Select Type", + "hu": "V\u00e1lasszon t\u00edpust", + "nl": "Selecteer Type" + }, + "last_used": "13.04.2016" + } + }, + "settentr": { + "button_save": { + "translations": { + "de": "Speichern", + "en": "Save", + "hu": "Ment\u00e9s", + "nl": "Opslaan" + } + } + }, + "show": { + "icons": { + "translations": { + "de": "Icons anzeigen", + "en": "Show icons", + "hu": "Ikonok megjelen\u00edt\u00e9se", + "nl": "Iconen tonen" + } + }, + "logout": { + "translations": { + "de": "Show logout", + "en": "Show logout", + "hu": "Kijelentkez\u00e9s megjelen\u00edt\u00e9se", + "nl": "Logout tonen" + }, + "last_used": "13.04.2016" + }, + "with_no_children": { + "translations": { + "de": "Anzeigen auch wenn keine Subelemente vorhanden sind", + "en": "Show also with no child elements", + "hu": "Gyermekelemek n\u00e9lk\u00fcliek is jelenjenek meg", + "nl": "Ook tonen als er geen kind elementen zijn" + } + } + }, + "simple": { + "form_validation": { + "translations": { + "de": "Einfache Formular-Validierung aktivieren (experimental)", + "en": "Activate Simple Form-Validation (experimental)", + "hu": "Egyszer? ?rlapellen?rz\u00e9s bekapcsol\u00e1sa (k\u00eds\u00e9rleti)", + "nl": "Inschakelen eenvoudige formuliervalidatie (experimenteel)" + } + } + }, + "sorting": { + "saved": { + "translations": { + "de": "Reihenfolge gespeichert", + "en": "Order save", + "hu": "Sorrendet sikeresen mentette", + "nl": "Volgorde Opslaan" + } + } + }, + "tabs": { + "title_childs": { + "translations": { + "de": "Dropdown bearbeiten", + "en": "Edit Dropdown", + "hu": "Leg\u00f6rd\u00fcl? m\u00f3dos\u00edt\u00e1sa", + "nl": "Wijzigen dropdown" + } + } + }, + "tab": { + "main": { + "translations": { + "de": "Hauptmenu bearbeiten", + "en": "Edit Entries", + "hu": "Bejegyz\u00e9sek m\u00f3dos\u00edt\u00e1sa", + "nl": "Wijzigen items" + }, + "last_used": "13.04.2016" + } + }, + "title": { + "de": { + "translations": { + "de": "Deutscher Titel", + "en": "German Title", + "hu": "C\u00edm n\u00e9met\u00fcl", + "nl": "Duitste Titel" + } + }, + "en": { + "translations": { + "de": "Englischer Titel", + "en": "English Title", + "hu": "C\u00edm angolul", + "nl": "Engelse Titel" + } + }, + "fr": { + "translations": { + "de": "Franz\u00f6sischer Titel", + "en": "French Title", + "hu": "C\u00edm franci\u00e1ul", + "nl": "Franse Titel" + } + }, + "it": { + "translations": { + "de": "Italienischer Titel", + "en": "Italien Title", + "hu": "C\u00edm olaszul", + "nl": "Italiaanse Titel" + } + }, + "nl": { + "translations": { + "nl": "Nederlandse Titel" + } + } + }, + "type": { + "admin": { + "translations": { + "de": "Administration", + "en": "Administration", + "hu": "Rendszerbe\u00e1ll\u00edt\u00e1s", + "nl": "Beheer" + }, + "last_used": "13.04.2016" + }, + "auth": { + "translations": { + "de": "Authentifizierung", + "en": "Authentication", + "hu": "Hiteles\u00edt\u00e9s", + "nl": "Authenticatie" + }, + "last_used": "13.04.2016" + }, + "ctrl": { + "translations": { + "de": "ilCtrl", + "en": "ilCtrl", + "hu": "ilCtrl", + "nl": "ilCtrl" + }, + "last_used": "13.04.2016" + }, + "desktop": { + "translations": { + "de": "Pers\u00f6nlicher Schreibtisch", + "en": "Personal Desktop", + "hu": "Szem\u00e9lyes munkaasztal", + "nl": "Persoonlijk Scherm" + }, + "last_used": "13.04.2016" + }, + "dropdown": { + "translations": { + "de": "Dropdown", + "en": "Dropdown", + "hu": "Leg\u00f6rd\u00fcl?", + "nl": "Dropdown" + }, + "last_used": "13.04.2016" + }, + "lastvisited": { + "translations": { + "de": "Zuletzt besucht", + "en": "Last Visited", + "hu": "Utolj\u00e1ra l\u00e1togatott", + "nl": "Laatste bezocht" + }, + "last_used": "13.04.2016" + }, + "link": { + "translations": { + "de": "URL", + "en": "URL", + "hu": "URL", + "nl": "URL" + }, + "last_used": "13.04.2016" + }, + "refid": { + "translations": { + "de": "Ref-ID", + "en": "Ref-ID", + "hu": "Ref-ID", + "nl": "Ref-ID" + }, + "last_used": "13.04.2016" + }, + "repository": { + "translations": { + "de": "Magazin", + "en": "Repository", + "hu": "Taneszk\u00f6zt\u00e1rol\u00f3", + "nl": "Studiecentrum" + }, + "last_used": "13.04.2016" + }, + "search": { + "translations": { + "de": "Schnellsuche", + "en": "Quick-Search", + "hu": "Gyors keres\u00e9s", + "nl": "Snel-zoeken" + }, + "last_used": "13.04.2016" + }, + "separator": { + "translations": { + "de": "Umbruch", + "en": "Separator", + "hu": "Szepar\u00e1tor", + "nl": "Scheiding" + }, + "last_used": "13.04.2016" + }, + "settings": { + "translations": { + "de": "Benutzereinstellungen", + "en": "User Settings", + "hu": "Felhaszn\u00e1l\u00f3i be\u00e1ll\u00edt\u00e1sok", + "nl": "Gebruikersinstellingen" + }, + "last_used": "13.04.2016" + }, + "statusbox": { + "translations": { + "de": "Mail-Status", + "en": "Mail-Status", + "hu": "Lev\u00e9l \u00e1llapot", + "nl": "E-mail-Status" + }, + "last_used": "13.04.2016" + }, + "subtitle": { + "translations": { + "de": "Subtitel", + "en": "Subtitle", + "hu": "Alc\u00edm", + "nl": "Subtitel" + }, + "last_used": "13.04.2016" + }, + "user": { + "translations": { + "de": "Benutzer" + } + } + }, + "update": { + "cache_settings": { + "translations": { + "de": "Speichern", + "en": "Save", + "hu": "Ment\u00e9s", + "nl": "Opslaan" + } + } + }, + "use": { + "image": { + "translations": { + "de": "Pfeilbild verwenden", + "en": "Use Arrow Image", + "hu": "Ny\u00edl k\u00e9p haszn\u00e1lata", + "nl": "Gebruiken van pijlafbeelding" + } + }, + "user_image": { + "translations": { + "de": "Benutzerbild statt Titel verwenden", + "en": "Use User-Image as Title", + "hu": "Felhaszn\u00e1l\u00f3i k\u00e9p haszn\u00e1lata c\u00edmk\u00e9nt", + "nl": "Gebruik Gebruikersafbeelding als titel" + } + } + }, + "disable": { + "active": { + "translations": { + "de": "Aktive Eintr\u00e4ge deaktivieren", + "en": "Disable active entries", + "hu": "MISSING", + "nl": "MISSING" + }, + "last_used": "13.04.2016" + } + } + } +} \ No newline at end of file diff --git a/plugin.php b/plugin.php index e3b12e1..a9cf8dc 100644 --- a/plugin.php +++ b/plugin.php @@ -1,8 +1,7 @@ diff --git a/templates/css/ctrlmm.css b/templates/css/ctrlmm.css index 5876c1b..7ee0175 100644 --- a/templates/css/ctrlmm.css +++ b/templates/css/ctrlmm.css @@ -94,7 +94,7 @@ span.ctrlmmNonLink { } .ilias5 span.ctrlmmNonLink { - height: 15px; + height: 15px; background: none; line-height: inherit; line-height: 37px; @@ -146,4 +146,8 @@ div.ilMainMenuRight { #ilAdvSelListAnchorElement_dd_adm { height: inherit; +} + +.ctrlmm_disabled { + pointer-events: none; } \ No newline at end of file