Lines Matching refs:this

47 		$this->Lexer->addSpecialPattern('~~TRANSLATOR~~',$mode,'plugin_translator_translator');
68 if ( !$this->functions =& plugin_load('helper', 'translator') ) {
69 print $this->lang['helpermissing'];
74 $this->functions->init_database();
77 $this->category = $_REQUEST['Category'];
78 $this->languages = $this->functions->_getLanguages();
79 $this->version = $_REQUEST['Version'];
80 $this->currentLanguage = $_REQUEST['Language'];
81 $this->currentVersion = $_REQUEST['Version'];
82 $this->additionalLanguage = $_REQUEST['AdditionalLanguage'];
87 if ( count($this->functions->revertableUpload) > 0 ) {
88 $renderer->doc .= $this->functions->_revertManager($this, $this->functions->revertableUpload);
92 if ( empty($this->category) || empty($this->currentLanguage) ) {
93 $this->_setupTranslator($renderer);
94 $this->_printStatistics($renderer);
97 if ( $this->languages === false ) {
98 $renderer->doc .= $this->locale_xhtml('noauth');
103 …$this->_printTranslator($renderer, intval($_REQUEST['start']), intval($_REQUEST['amount']), $_REQU…
120 $renderer->doc .= $this->locale_xhtml('setup');
122 $form = $this->_startFieldSet($this->getLang('SelectCategory'), 'translator_setup');
124 list($categories, $changeCategory, $changeVersion) = $this->functions->_getChangerJS(false);
126 …ListboxField('Category', array_keys($categories), $_REQUEST['Category'], $this->getLang('Category'…
129 …($categories[$_REQUEST['Category']]['Versions'])), $_REQUEST['Version'], $this->getLang('Version')…
132 $form->addElement(form_makeField('submit', 'fn[setup]', $this->getLang('Show'), ''));
134 $renderer->doc .= $this->_finishFieldset($form);
142 $this->functions->database->prepare("SELECT CategoryID, Name, FileName FROM tblCategory;");
143 $this->functions->database->execute();
145 if ( $this->functions->database->num_rows() == 0 ) {
150 $categories = array(); $data = array(); $this->functions->database->bind_assoc($data);
151 while ( $this->functions->database->fetch() ) {
155 …$form->addElement(form_makeListboxField('Category', $categories, $currentCategory, $this->getLang(…
167 $display = $this->getLang('notTranslated');
171 …list($matrix, $max) = $this->functions->_getTranslationMatrix($this->category, $this->version, $th…
172 list($categoryID) = $this->functions->_getCategoryFromName($this->category);
178 $renderer->doc .= $this->locale_xhtml('nothingtodo');
179 $renderer->doc .= $this->_setPages($start, $amount, $max, $display, true);
183 …$masterLanguage = empty($this->additionalLanguage) ? $this->getConf('default_language') : $this->…
186 $form = $this->_startFieldSet($this->getLang('Translator'), "translator_do");
201 $form->addElement($this->getLang('RessourceKeyName'));
205 $form->addElement($this->getLang('MasterValue') . " ($masterLanguage)");
209 $form->addElement($this->getLang('TranslationValue') . " ({$this->currentLanguage})");
258 …$form->addElement(form_makeOpenTag("button", array('onclick' => "translator.run('{$this->currentLa…
271 $form->addElement(form_makeField('submit', 'fn[setup]', $this->getLang('Cancel'), ''));
272 $form->addElement(form_makeField('submit', 'fn[translate]', $this->getLang('Submit'), ''));
274 $renderer->doc .= $this->_setPages($start, $amount, $max, $display);
275 $renderer->doc .= $this->_finishFieldset($form);
276 $renderer->doc .= $this->_setPages($start, $amount, $max, $display);
288 list($categoryID) = $this->functions->_getCategoryFromName($this->category);
291 $form = $this->_startFieldSet($this->getLang('selectedOptions'));
292 …lass='language' style='width:150px;'>{$this->getLang('Category')}:</div><div style='width:200px;fl…
294 …lass='language' style='width:150px;'>{$this->getLang('Version')}:</div><div style='width:200px;flo…
296this->getLang('Permalink')}:</div><div style='width:200px;float:right'>" . tpl_link(wl($ID, array(…
299 …eld('newAdditionalLanguage', $this->functions->_getAvailableLanguages($categoryID), $_REQUEST['Add…
301 …_makeListboxField('newAmount', array('25', '50', '100', '200'), $amount, $this->getLang('DisplayAm…
316 $form->addElement(form_makeField('submit', 'fn[setup]', $this->getLang('backToFirstPage'), ''));
319 return $this->_finishFieldset($form);
329 if ( empty ( $this->category ) || empty ( $this->currentVersion ) ) {
333 list($cagtegoryID, $filename) = $this->functions->_getCategoryFromName($this->category);
334 $masterValues = $this->functions->_getAmountOfMasterValues($cagtegoryID, $this->currentVersion);
339 $renderer->doc .= $this->locale_xhtml('statistics');
342 …$form = $this->_startFieldSet( $this->category . ' ' . $this->getLang('Version') . ' ' . $this->cu…
343 $languages = $this->functions->_getAvailableLanguages($cagtegoryID, $this->currentVersion);
346 $form->addHidden('Version', $this->currentVersion);
347 $form->addHidden('Category', $this->category);
350 $form->addElement($this->getLang('AmountOfMasterValues') . ': ' . $masterValues);
354 $languages = array_unique(array_merge($languages, explode('|', $this->languages)));
358 if ( $language == $this->getConf('default_language') ) continue;
361 …$currentAmount = $this->functions->_getAmountOfLanguageValues($cagtegoryID, $this->currentVersion,…
365 …$form->addElement($this->functions->_downloadLink($this->category, $this->currentVersion, $languag…
369 …$form->addElement($this->functions->_downloadLink($this->category, $this->currentVersion, $languag…
377 if ( in_array($language, explode('|', $this->languages)) ) {
378 …ld('submit', 'fn[setup][' . $language . '][' . $this->getLang('all') . ']', $this->getLang('all'),…
379 …_makeField('submit', 'fn[setup][' . $language . '][' . $this->getLang('translated') . ']', $this->…
380 …makeField('submit', 'fn[setup][' . $language . '][' . $this->getLang('notTranslated') . ']', $this
385 $renderer->doc .= $this->_finishFieldset($form);
413 return $this->functions->capture_form_output($form);