echo lang('section_general'); ?> '; config.activeTab = 0; config.deferredRender = false; config.border = false; config.items = this.buildForm(); this.callParent([config]); }, buildForm: function() { var panels = []; <?php list($defaultLanguageCode) = explode("_", lang_get_code()); foreach (lang_get_all() as $l) { echo 'var lang' . $l['code'] . ' = Ext.create("Ext.Panel", { title:\'' . $l['name'] . '\', iconCls:\'icon-' . $l['country_iso'] . '-win\', layout: \'anchor\', border: false, frame: false, bodyPadding: \'10\', defaults: { anchor: \'98%\' }, items: [ {xtype: \'textfield\', fieldLabel: \'' . lang('field_name') . '\', name: \'products_name[' . $l['id'] . ']\' , allowBlank: false}, {xtype: \'textfield\', fieldLabel: \'' . lang('field_tags') . '\', name: \'products_tags[' . $l['id'] . ']\'}, {xtype: \'textarea\', fieldLabel: \'' . lang('field_short_description') . '\', name: \'products_short_description[' . $l['id'] . ']\' , height: \'50\'},
* @license http://www.gnu.org/licenses/gpl.html * @link http://tomatocart.com * @since Version 2.0 * @filesource */ ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html dir="<?php echo lang_get_text_direction(); ?> " xml:lang="<?php echo lang_get_code(); ?> " lang="<?php echo lang_get_code(); ?> "> <head> <title><?php echo lang('administration_title'); ?> </title> <link rel="shortcut icon" href="<?php echo base_url(); ?> templates/base/web/images/favicon.ico" type="image/x-icon" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="expires" content="-1" />