Exemple #1
0
 /**
  *@param 
  *@return PageXml
  *@desc 
  */
 public function CreatePageOld()
 {
     $this->_px = parent::CreatePage();
     $this->_px->setTitle("XMLNuke Administration Tool");
     $this->_px->setAbstract("XMLNuke Administration Tool");
     $this->_mainBlock = $this->_px->addBlockCenter("Menu");
     $this->_help = $this->_px->addParagraph($this->_mainBlock);
     $this->_menu = $this->_px->addParagraph($this->_mainBlock);
     $this->_px->addHref($this->_menu, "module:Xmlnuke.Admin.ControlPanel?lang=" . $this->_context->Language()->getName(), "Menu", null);
     return $this->_px;
 }
Exemple #2
0
 /**
  * Return the LanguageCollection used in this module
  *
  * @return LanguageCollection
  */
 public function WordCollection()
 {
     $myWords = parent::WordCollection();
     if (!$myWords->loadedFromFile()) {
         // English Words
         $myWords->addText("en-us", "TITLE", "Module XSL Theme");
         // Portuguese Words
         $myWords->addText("pt-br", "TITLE", "Módulo de Temas Xsl");
     }
     return $myWords;
 }
Exemple #3
0
 /**
  * Return the LanguageCollection used in this module
  *
  * @return LanguageCollection
  */
 public function WordCollection()
 {
     //LanguageCollection
     $myWords = parent::WordCollection();
     if (!$myWords->loadedFromFile()) {
         // English Words
         $myWords->addText("en-us", "TITLE", "Module Not Found");
         // Portuguese Words
         $myWords->addText("pt-br", "TITLE", "Módulo de Modulo Não Encontrado");
     }
     return $myWords;
 }
Exemple #4
0
 /**
  * Return the LanguageCollection used in this module
  *
  * @return LanguageCollection
  */
 public function WordCollection()
 {
     $myWords = parent::WordCollection();
     return $myWords;
 }
Exemple #5
0
 public function Setup($xmlModuleName, $customArgs)
 {
     parent::Setup($xmlModuleName, $customArgs);
     $this->defaultXmlnukeDocument = new ServiceDocument();
 }
Exemple #6
0
 /**
  * eturn the LanguageCollection used in this module
  *
  * @return LanguageCollection
  */
 public function WordCollection()
 {
     $myWords = parent::WordCollection();
     if (!$myWords->loadedFromFile()) {
         // English Words
         $myWords->addText("en-us", "TITLE", "Module Send page");
         // Portuguese Words
         $myWords->addText("pt-br", "TITLE", "Módulo de Envio de Páginas");
     }
     return $myWords;
 }
Exemple #7
0
 public function Setup($xmlModuleName, $customArgs)
 {
     parent::Setup($xmlModuleName, $customArgs);
     $myWords = $this->WordCollection();
     $this->defaultXmlnukeDocument->addXmlnukeObject($myWords);
     $this->_users = $this->getUsersDatabase();
     $this->_blockCenter = new XmlBlockCollection("", BlockPosition::Center);
     $this->defaultXmlnukeDocument->addXmlnukeObject($this->_blockCenter);
     $this->_login = new LoginModel($this->_context);
     $this->_urlReturn = $this->_context->get("ReturnUrl");
     $this->_login->setCanRegister(true);
     $this->_login->setCanRetrievePassword(true);
 }