Jump to content

Admin panelden "yardım" butonunu nasıl kaldırırım ?


Recommended Posts

izlenecek yol

 

/admin/themes/default/template/header.tpl  - içinde

 

Bul ve Sil

{if $display_header}
	<script type="text/javascript">
		var help_class_name = '{$controller_name}';
		var iso_user = '{$iso_user}';
		var country_iso_code = '{$country_iso_code}';
		var _PS_VERSION_ = '{$smarty.const._PS_VERSION_}';

		var helpboxes = {$help_box};
		var roundMode = {$round_mode};
			{if isset($shop_context)}
				{if $shop_context == Shop::CONTEXT_ALL}
				var youEditFieldFor = "{l s='A modification of this field will be applied for all shops' slashes=1 }";
					{elseif $shop_context == Shop::CONTEXT_GROUP}
				var youEditFieldFor = "{l s='A modification of this field will be applied for all shops of group ' slashes=1 }<b>{$shop_name}</b>";
					{else}
				var youEditFieldFor = "{l s='A modification of this field will be applied for the shop ' slashes=1 }<b>{$shop_name}</b>";
				{/if}
				{else}
			var youEditFieldFor = '';
			{/if}
		{* Notifications vars *}
		var autorefresh_notifications = '{$autorefresh_notifications}';
		var new_order_msg = '{l s='A new order has been placed on your shop.' slashes=1}';
		var order_number_msg = '{l s='Order number: ' slashes=1}';
		var total_msg = '{l s='Total: ' slashes=1}';
		var from_msg = '{l s='From: ' slashes=1}';
		var see_order_msg = '{l s='View this order' slashes=1}';
		var new_customer_msg = '{l s='A new customer registered on your shop.' slashes=1}';
		var customer_name_msg = '{l s='Customer name: ' slashes=1}';
		var see_customer_msg = '{l s='View this customer' slashes=1}';
		var new_msg = '{l s='A new message posted on your shop.' slashes=1}';
		var excerpt_msg = '{l s='Excerpt: ' slashes=1}';
		var see_msg = '{l s='Read this message' slashes=1}';
		var token_admin_orders = '{getAdminToken tab='AdminOrders' slashes=1}';
		var token_admin_customers = '{getAdminToken tab='AdminCustomers' slashes=1}';
		var token_admin_customer_threads = '{getAdminToken tab='AdminCustomerThreads' slashes=1}';
		var currentIndex = '{$currentIndex}';
		var choose_language_translate = "{l s='Choose language' slashes=1 }";
	</script>
{/if}
  • Like 1
Link to comment
Share on other sites

 

izlenecek yol

 

/admin/themes/default/template/header.tpl - içinde

 

Bul ve Sil

{if $display_header}	<script type="text/javascript">		var help_class_name = '{$controller_name}';		var iso_user = '{$iso_user}';		var country_iso_code = '{$country_iso_code}';		var _PS_VERSION_ = '{$smarty.const._PS_VERSION_}';		var helpboxes = {$help_box};		var roundMode = {$round_mode};			{if isset($shop_context)}				{if $shop_context == Shop::CONTEXT_ALL}				var youEditFieldFor = "{l s='A modification of this field will be applied for all shops' slashes=1 }";					{elseif $shop_context == Shop::CONTEXT_GROUP}				var youEditFieldFor = "{l s='A modification of this field will be applied for all shops of group ' slashes=1 }<b>{$shop_name}</b>";					{else}				var youEditFieldFor = "{l s='A modification of this field will be applied for the shop ' slashes=1 }<b>{$shop_name}</b>";				{/if}				{else}			var youEditFieldFor = '';			{/if}		{* Notifications vars *}		var autorefresh_notifications = '{$autorefresh_notifications}';		var new_order_msg = '{l s='A new order has been placed on your shop.' slashes=1}';		var order_number_msg = '{l s='Order number: ' slashes=1}';		var total_msg = '{l s='Total: ' slashes=1}';		var from_msg = '{l s='From: ' slashes=1}';		var see_order_msg = '{l s='View this order' slashes=1}';		var new_customer_msg = '{l s='A new customer registered on your shop.' slashes=1}';		var customer_name_msg = '{l s='Customer name: ' slashes=1}';		var see_customer_msg = '{l s='View this customer' slashes=1}';		var new_msg = '{l s='A new message posted on your shop.' slashes=1}';		var excerpt_msg = '{l s='Excerpt: ' slashes=1}';		var see_msg = '{l s='Read this message' slashes=1}';		var token_admin_orders = '{getAdminToken tab='AdminOrders' slashes=1}';		var token_admin_customers = '{getAdminToken tab='AdminCustomers' slashes=1}';		var token_admin_customer_threads = '{getAdminToken tab='AdminCustomerThreads' slashes=1}';		var currentIndex = '{$currentIndex}';		var choose_language_translate = "{l s='Choose language' slashes=1 }";	</script>{/if}
Sonradan fark ettim bu kodu kaldırınca /admin/themes/default/template/header.tpl burdan admin panelin farklı yerlerinde sorunlar başlıyor örneğn admin panelden Yönetim / Yöneticiler-Yetkiler sekmesinde personel izinleri yönetilemez hale geliyor , ya da bende öyle oldu . Neyse biraz uğraşıyım bakalım Edited by silistre (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...