Example #1
0
 /**
  * Displays the add dialogue
  *
  * @return	string		Json
  */
 protected function _showAddDialogue()
 {
     $this->returnHtml($this->html->newSkinSetPopUp(IPSLib::hasActiveLicense(false)));
 }
Example #2
0
 /**
  * Start. No really.
  *
  * @return	@e void		[Outputs to screen/redirects]
  */
 protected function _skinGenStepOne()
 {
     /* Basic checks and tests */
     $warnings = $this->skinFunctions->healthCheck();
     $errors = array();
     $form = array();
     if ($warnings !== true) {
         $errors = $warnings;
     }
     /* Perform license check */
     if (IPSLib::hasActiveLicense() !== true) {
         $errors[] = "License key out of date";
     }
     /* Form */
     $form['set_name'] = $this->registry->getClass('output')->formInput('set_name', $_POST['set_name']);
     $form['set_author_name'] = $this->registry->getClass('output')->formInput('set_author_name', $_POST['set_author_name']);
     $form['set_author_url'] = $this->registry->getClass('output')->formInput('set_author_url', $_POST['set_author_url']);
     $this->registry->output->html .= $this->html->skinGenerator($form, $errors);
 }