Files
grzanieplus.pl/apps/frontend/modules/stUserData/templates/_responsiveUserPanelMenu.php
Jacek Pyziak 21e2bc6412 Add user data templates for responsive design and pagination
- Created new templates for user data management including address list, product list, and order forms.
- Implemented responsive design for user panel breadcrumbs and address management.
- Added pagination functionality for product listings.
- Integrated Smarty template engine for dynamic content rendering.
- Ensured compatibility with existing user data structures and configurations.
2025-06-18 10:13:34 +02:00

17 lines
512 B
PHP

<?php
st_theme_use_stylesheet('stUser.css');
$smarty->assign('user_email', sfContext::getInstance()->getUser()->getUsername());
$smarty->assign('active_tab', $active_tab);
$newsletter_config = stConfig::getInstance(sfContext::getInstance(), 'stNewsletterBackend');
if($newsletter_config->get('newsletter_enabled')==1){
$smarty->assign('newsletter_enabled', 1);
}else{
$smarty->assign('newsletter_enabled', 0);
}
$smarty->display('userdata_responsive_user_panel_menu.html');
?>