Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 4
0
 /**
  * Return the LanguageCollection used in this module
  *
  * @return LanguageCollection
  */
 public function WordCollection()
 {
     $myWords = parent::WordCollection();
     return $myWords;
 }
Exemplo n.º 5
0
 public function Setup($xmlModuleName, $customArgs)
 {
     parent::Setup($xmlModuleName, $customArgs);
     $this->defaultXmlnukeDocument = new ServiceDocument();
 }
Exemplo n.º 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;
 }
Exemplo n.º 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);
 }