_load_plugins(array( array('modifier', 'escape', 'admin/main/edit_dir.tpl', 24, false), array('modifier', 'truncate', 'admin/main/edit_dir.tpl', 35, false), array('modifier', 'replace', 'admin/main/edit_dir.tpl', 39, false),)); ?> _tpl_vars['what_to_edit'] == 'files' )): ?> _tpl_vars; $this->_smarty_include("location.tpl", array('last_location' => 'Browse files')); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?> This section allows you to browse, add, delete files which afterwards may be used in your store. _tpl_vars; $this->_smarty_include("location.tpl", array('last_location' => 'Browse templates')); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?> This section allows you to edit templates from which your store is built. As the templates engine is very flexible and extremely configurable, you may change the store's look and feel so that it will fit any design layout. But be careful! The powerful flexibility requires basic HTML knowledge and experience. If "$admin_safe_mode" is set to "true" then template editor is write-protected.
Note: You will probably want to use 'X-Cart debug console' together with template editor. You can activate 'X-Cart debug console' under 'General settings' menu.
Config file (_tpl_vars['skin_config']; ?>
)
CSS file (_config[0]['vars']['CSSFile']; ?>
)
Buttons
Help files
Error messages
Mail templates
Today News
_tpl_vars['what_to_edit'] == 'templates' && $GLOBALS['HTTP_GET_VARS']['dir'] == ""): ?> _smarty_vars['capture']['dialog'] = ob_get_contents(); ob_end_clean(); ?> _tpl_vars['what_to_edit'] == 'files' )): ?> _tpl_vars; $this->_smarty_include("dialog.tpl", array('title' => 'Browse files','content' => $this->_smarty_vars['capture']['dialog'],'extra' => "width=100%")); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?> _tpl_vars; $this->_smarty_include("dialog.tpl", array('title' => 'Browse templates','content' => $this->_smarty_vars['capture']['dialog'],'extra' => "width=100%")); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?>