- Timestamp:
- 2007/10/22 10:25:13 (16 years ago)
- Location:
- branches/feature-module-update/data/class/pages/frontparts/bloc
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Best5.php
r16275 r16530 7 7 8 8 // {{{ requires 9 require_once(CLASS_PATH . "pages/ LC_Page.php");9 require_once(CLASS_PATH . "pages/frontparts/bloc/LC_Page_FrontParts_Bloc.php"); 10 10 11 11 /** … … 16 16 * @version $Id:LC_Page_FrontParts_Bloc_Best5.php 15532 2007-08-31 14:39:46Z nanasess $ 17 17 */ 18 class LC_Page_FrontParts_Bloc_Best5 extends LC_Page {18 class LC_Page_FrontParts_Bloc_Best5 extends LC_Page_FrontParts_Bloc { 19 19 20 20 // }}} … … 29 29 parent::init(); 30 30 $bloc_file = 'best5.tpl'; 31 if (is_file(USER_PATH . BLOC_DIR . $bloc_file)) { 32 $this->tpl_mainpage = USER_PATH . BLOC_DIR . $bloc_file; 33 } else { 34 $this->tpl_mainpage = BLOC_PATH . $bloc_file; 35 } 31 $this->setTplMainpage($bloc_file); 36 32 } 37 33 -
branches/feature-module-update/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Cart.php
r16275 r16530 7 7 8 8 // {{{ requires 9 require_once(CLASS_PATH . "pages/ LC_Page.php");9 require_once(CLASS_PATH . "pages/frontparts/bloc/LC_Page_FrontParts_Bloc.php"); 10 10 11 11 /** … … 16 16 * @version $Id:LC_Page_FrontParts_Bloc_Cart.php 15532 2007-08-31 14:39:46Z nanasess $ 17 17 */ 18 class LC_Page_FrontParts_Bloc_Cart extends LC_Page {18 class LC_Page_FrontParts_Bloc_Cart extends LC_Page_FrontParts_Bloc { 19 19 20 20 // }}} … … 29 29 parent::init(); 30 30 $bloc_file = 'cart.tpl'; 31 if (is_file(USER_PATH . BLOC_DIR . $bloc_file)) { 32 $this->tpl_mainpage = USER_PATH . BLOC_DIR . $bloc_file; 33 } else { 34 $this->tpl_mainpage = BLOC_PATH . $bloc_file; 35 } 31 $this->setTplMainpage($bloc_file); 36 32 } 37 33 -
branches/feature-module-update/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Category.php
r16275 r16530 7 7 8 8 // {{{ requires 9 require_once(CLASS_PATH . "pages/ LC_Page.php");9 require_once(CLASS_PATH . "pages/frontparts/bloc/LC_Page_FrontParts_Bloc.php"); 10 10 11 11 /** … … 16 16 * @version $Id:LC_Page_FrontParts_Bloc_Category.php 15532 2007-08-31 14:39:46Z nanasess $ 17 17 */ 18 class LC_Page_FrontParts_Bloc_Category extends LC_Page {18 class LC_Page_FrontParts_Bloc_Category extends LC_Page_FrontParts_Bloc { 19 19 20 20 // }}} … … 29 29 parent::init(); 30 30 $bloc_file = 'category.tpl'; 31 if (is_file(USER_PATH . BLOC_DIR . $bloc_file)) { 32 $this->tpl_mainpage = USER_PATH . BLOC_DIR . $bloc_file; 33 } else { 34 $this->tpl_mainpage = BLOC_PATH . $bloc_file; 35 } 31 $this->setTplMainpage($bloc_file); 36 32 } 37 33 -
branches/feature-module-update/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Login.php
r16275 r16530 7 7 8 8 // {{{ requires 9 require_once(CLASS_PATH . "pages/ LC_Page.php");9 require_once(CLASS_PATH . "pages/frontparts/bloc/LC_Page_FrontParts_Bloc.php"); 10 10 11 11 /** … … 16 16 * @version $Id:LC_Page_FrontParts_Bloc_Login.php 15532 2007-08-31 14:39:46Z nanasess $ 17 17 */ 18 class LC_Page_FrontParts_Bloc_Login extends LC_Page {18 class LC_Page_FrontParts_Bloc_Login extends LC_Page_FrontParts_Bloc { 19 19 20 20 // }}} … … 29 29 parent::init(); 30 30 $bloc_file = 'login.tpl'; 31 if (is_file(USER_PATH . BLOC_DIR . $bloc_file)) { 32 $this->tpl_mainpage = USER_PATH . BLOC_DIR . $bloc_file; 33 } else { 34 $this->tpl_mainpage = BLOC_PATH . $bloc_file; 35 } 31 $this->setTplMainpage($bloc_file); 36 32 $this->tpl_login = false; 37 33 $this->tpl_disable_logout = false; -
branches/feature-module-update/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_News.php
r16275 r16530 7 7 8 8 // {{{ requires 9 require_once(CLASS_PATH . "pages/ LC_Page.php");9 require_once(CLASS_PATH . "pages/frontparts/bloc/LC_Page_FrontParts_Bloc.php"); 10 10 11 11 /** … … 16 16 * @version $Id:LC_Page_FrontParts_Bloc_News.php 15532 2007-08-31 14:39:46Z nanasess $ 17 17 */ 18 class LC_Page_FrontParts_Bloc_News extends LC_Page {18 class LC_Page_FrontParts_Bloc_News extends LC_Page_FrontParts_Bloc { 19 19 20 20 // }}} … … 29 29 parent::init(); 30 30 $bloc_file = 'news.tpl'; 31 if (is_file(USER_PATH . BLOC_DIR . $bloc_file)) { 32 $this->tpl_mainpage = USER_PATH . BLOC_DIR . $bloc_file; 33 } else { 34 $this->tpl_mainpage = BLOC_PATH . $bloc_file; 35 } 31 $this->setTplMainpage($bloc_file); 36 32 } 37 33 -
branches/feature-module-update/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_SearchProducts.php
r16275 r16530 7 7 8 8 // {{{ requires 9 require_once(CLASS_PATH . "pages/ LC_Page.php");9 require_once(CLASS_PATH . "pages/frontparts/bloc/LC_Page_FrontParts_Bloc.php"); 10 10 11 11 /** … … 16 16 * @version $Id:LC_Page_FrontParts_Bloc_SearchProducts.php 15532 2007-08-31 14:39:46Z nanasess $ 17 17 */ 18 class LC_Page_FrontParts_Bloc_SearchProducts extends LC_Page {18 class LC_Page_FrontParts_Bloc_SearchProducts extends LC_Page_FrontParts_Bloc { 19 19 20 20 // }}} … … 29 29 parent::init(); 30 30 $bloc_file = 'search_products.tpl'; 31 if (is_file(USER_PATH . BLOC_DIR . $bloc_file)) { 32 $this->tpl_mainpage = USER_PATH . BLOC_DIR . $bloc_file; 33 } else { 34 $this->tpl_mainpage = BLOC_PATH . $bloc_file; 35 } 31 $this->setTplMainpage($bloc_file); 36 32 } 37 33
Note: See TracChangeset
for help on using the changeset viewer.