Example #1
0
 public function main()
 {
     $aInfo = \Extasy\sitemap\Route::getCurrentUrlInfo();
     $aMenu = Sitemap_PagesOperations::selectChildWithoutAdditional($aInfo['id'], 1, 0);
     $url = '';
     if (empty($aMenu)) {
         // Получаем предка
         if (!empty($aInfo['parent'])) {
             $aParent = Sitemap_Sample::get($aInfo['parent']);
             $url .= $aParent['full_url'];
             $this->jump($url);
         } else {
             die('Parent empty');
         }
     }
     $url .= $aMenu[0]['full_url'];
     $this->jump($url);
 }
Example #2
0
<?php

return new UsersRegistration_Registrate(\Extasy\sitemap\Route::getCurrentUrlInfo());
Example #3
0
<?php

return new \Extasy\Users\login\controller\Login(\Extasy\sitemap\Route::getCurrentUrlInfo());
Example #4
0
<?php

use Extasy\Users\profile\ProfileController;
return new ProfileController(\Extasy\sitemap\Route::getCurrentUrlInfo());
Example #5
0
<?php

//************************************************************//
//                                                            //
//                     Заголовок                              //
//       Copyright (c) 2008 Ext-CMS (http://www.ext-cms.com/) //
//               отдел/сектор                                 //
//       Email:    info@gisma.ru (http://www.gisma.ru/)       //
//                                                            //
//  Разработчик: Gisma (          )                           //
//  Модифицирован:  Дата мод.   by Gisma                      //
//                                                            //
//************************************************************//
require_once SETTINGS_PATH . 'users/forgot/form.cfg.php';
class FORGOTPage extends UsersForgot_Send
{
    public function main($error = '')
    {
        $aParse = array('aMeta' => array('title' => FORGOT_SEO_TITLE, 'keywords' => FORGOT_SEO_KEYWORDS, 'description' => FORGOT_SEO_DESCRIPTION));
        //
        $this->output('users/forgot/form', $aParse, array('page_with_bread_crumbs'));
    }
}
return new FORGOTPage(\Extasy\sitemap\Route::getCurrentUrlInfo());
Example #6
0
 protected static function getCurrentUrlInfo()
 {
     return \Extasy\sitemap\Route::getCurrentUrlInfo();
 }