View Single Post
  #1  
Old 11-22-2009, 08:25 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default 4.3.0 - <title> for admin is a fixed language entry?

In 4.3.0 (GOLD or PRO), it appears that the <title> for the admin is a fixed language entry.

/skin1/admin/home.tpl

Code:
<head> <title>{$lng.txt_site_title|wm_remove}</title>

1. what is wm_remove? Search did not revel what this operator does.
2. $lng.txt_site_title = X-CART. Powerful PHP shopping cart software

WHY would this be coded into the database? Shouldn't this pull from the site name in the general settings?

Wouldn't it make more sense for the <title> tag for the admin to be:

/skin1/admin/home.tpl

Code:
<title>{if $config.SEO.site_title ne ""}{$config.SEO.site_title} {else}{$lng.txt_site_title|wm_remove}{/if}</title>

This assumes that SEO settings are enabled?

Hiding something like this in the database does not make any sense. Or does it? Please explain?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote