Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Panel


Guest

Recommended Posts

When logging into the Admin Control Panel, I get some funny links such as :

 

Localization

Currencies, Languages

 

Reports

REPORTS_PRODUCTS, REPORTS_ORDERS

 

Helpdesk

HELPDESK_VIEW, HELPDESK_SEARCH

 

As you can see some of the links get enlongated.

 

Can the control panel be reinstalled or do I have to do a complete installation OR is there some place I can change the html to read correctly?

 

Does the database need to be edited?

 

I have been all over the directories but cannot find the places to change the html output.

 

Thanks in advance.

 

ChrisM

Link to comment
Share on other sites

I was just looking at my language file but it seems to be ok!

 

I have included it as I may be missing something. Sometimes you look at things for too long and miss the obvious.

 

<?php

/*

$Id: english.php,v 1.100 2002/09/29 14:14:28 project3000 Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

// look in your $PATH_LOCALE/locale directory for available locales..

// on RedHat6.0 I used 'en_US'

// on FreeBSD 4.0 I use 'en_US.ISO_8859-1'

// this may not work under win32 environments..

setlocale(LC_TIME, 'en_US.ISO_8859-1');

define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()

define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()

define('DATE_FORMAT', 'm/d/Y'); // this is used for date()

define('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date()

define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

 

////

// Return date in raw format

// $date should be in format mm/dd/yyyy

// raw date is in format YYYYMMDD, or DDMMYYYY

function tep_date_raw($date, $reverse = false) {

if ($reverse) {

return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);

} else {

return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);

}

}

 

// Global entries for the <html> tag

define('HTML_PARAMS','dir="ltr" lang="en"');

 

// charset for web pages and emails

define('CHARSET', 'iso-8859-1');

 

// page title

define('TITLE', 'osCommerce');

 

// header text in includes/header.php

define('HEADER_TITLE_TOP', 'Administration');

define('HEADER_TITLE_SUPPORT_SITE', 'Support Site');

define('HEADER_TITLE_ONLINE_CATALOG', 'Online Catalog');

define('HEADER_TITLE_ADMINISTRATION', 'Administration');

 

// text for gender

define('MALE', 'Male');

define('FEMALE', 'Female');

 

// text for date of birth example

define('DOB_FORMAT_STRING', 'mm/dd/yyyy');

 

// configuration box text in includes/boxes/configuration.php

define('BOX_HEADING_CONFIGURATION', 'Configuration');

define('BOX_CONFIGURATION_MYSTORE', 'My Store');

define('BOX_CONFIGURATION_LOGGING', 'Logging');

define('BOX_CONFIGURATION_CACHE', 'Cache');

 

// modules box text in includes/boxes/modules.php

define('BOX_HEADING_MODULES', 'Modules');

define('BOX_MODULES_PAYMENT', 'Payment');

define('BOX_MODULES_SHIPPING', 'Shipping');

define('BOX_MODULES_ORDER_TOTAL', 'Order Total');

 

// categories box text in includes/boxes/catalog.php

define('BOX_HEADING_CATALOG', 'Catalog');

define('BOX_CATALOG_CATEGORIES_PRODUCTS', 'Categories/Products');

define('BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES', 'Products Attributes');

define('BOX_CATALOG_MANUFACTURERS', 'Manufacturers');

define('BOX_CATALOG_REVIEWS', 'Reviews');

define('BOX_CATALOG_SPECIALS', 'Specials');

define('BOX_CATALOG_PRODUCTS_EXPECTED', 'Products Expected');

 

// customers box text in includes/boxes/customers.php

define('BOX_HEADING_CUSTOMERS', 'Customers');

define('BOX_CUSTOMERS_CUSTOMERS', 'Customers');

define('BOX_CUSTOMERS_ORDERS', 'Orders');

 

// taxes box text in includes/boxes/taxes.php

define('BOX_HEADING_LOCATION_AND_TAXES', 'Locations / Taxes');

define('BOX_TAXES_COUNTRIES', 'Countries');

define('BOX_TAXES_ZONES', 'Zones');

define('BOX_TAXES_GEO_ZONES', 'Tax Zones');

define('BOX_TAXES_TAX_CLASSES', 'Tax Classes');

define('BOX_TAXES_TAX_RATES', 'Tax Rates');

 

// reports box text in includes/boxes/reports.php

define('BOX_HEADING_REPORTS', 'Reports');

define('BOX_REPORTS_PRODUCTS_VIEWED', 'Products Viewed');

define('BOX_REPORTS_PRODUCTS_PURCHASED', 'Products Purchased');

define('BOX_REPORTS_ORDERS_TOTAL', 'Customer Orders-Total');

 

// tools text in includes/boxes/helpdesk.php

define('BOX_HEADING_HELPDESK', 'Helpdesk');

define('BOX_HELPDESK', 'Helpdesk Admin');

define('BOX_HELPDESK_VIEW', 'View Tickets');

define('BOX_HELPDESK_CLOSED', 'Closed Tickets');

define('BOX_HELPDESK_SEARCH', 'Search Tickets');

define('BOX_HELPDESK_ADDUSER', 'Add User');

define('BOX_HELPDESK_EDITUSER', 'Edit User');

define('BOX_HELPDESK_DELUSER', 'Delete User');

 

// tools text in includes/boxes/tools.php

define('BOX_HEADING_TOOLS', 'Tools');

define('BOX_TOOLS_BACKUP', 'Database Backup');

define('BOX_TOOLS_BANNER_MANAGER', 'Banner Manager');

define('BOX_TOOLS_CACHE', 'Cache Control');

define('BOX_TOOLS_DEFINE_LANGUAGE', 'Define Languages');

define('BOX_TOOLS_FILE_MANAGER', 'File Manager');

define('BOX_TOOLS_MAIL', 'Send Email');

define('BOX_TOOLS_NEWSLETTER_MANAGER', 'Newsletter Manager');

define('BOX_TOOLS_SERVER_INFO', 'Server Info');

define('BOX_TOOLS_WHOS_ONLINE', 'Who's Online');

 

// localizaion box text in includes/boxes/localization.php

define('BOX_HEADING_LOCALIZATION', 'Localization');

define('BOX_LOCALIZATION_CURRENCIES', 'Currencies');

define('BOX_LOCALIZATION_LANGUAGES', 'Languages');

define('BOX_LOCALIZATION_ORDERS_STATUS', 'Orders Status');

 

// javascript messages

define('JS_ERROR', 'Errors have occured during the process of your form!nPlease make the following corrections:nn');

 

define('JS_OPTIONS_VALUE_PRICE', '* The new product atribute needs a price valuen');

define('JS_OPTIONS_VALUE_PRICE_PREFIX', '* The new product atribute needs a price prefixn');

 

define('JS_PRODUCTS_NAME', '* The new product needs a namen');

define('JS_PRODUCTS_DESCRIPTION', '* The new product needs a descriptionn');

define('JS_PRODUCTS_PRICE', '* The new product needs a price valuen');

define('JS_PRODUCTS_WEIGHT', '* The new product needs a weight valuen');

define('JS_PRODUCTS_QUANTITY', '* The new product needs a quantity valuen');

define('JS_PRODUCTS_MODEL', '* The new product needs a model valuen');

define('JS_PRODUCTS_IMAGE', '* The new product needs an image valuen');

 

define('JS_SPECIALS_PRODUCTS_PRICE', '* A new price for this product needs to be setn');

 

define('JS_GENDER', '* The 'Gender' value must be chosen.n');

define('JS_FIRST_NAME', '* The 'First Name' entry must have at least ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' characters.n');

define('JS_LAST_NAME', '* The 'Last Name' entry must have at least ' . ENTRY_LAST_NAME_MIN_LENGTH . ' characters.n');

define('JS_DOB', '* The 'Date of Birth' entry must be in the format: xx/xx/xxxx (month/date/year).n');

define('JS_EMAIL_ADDRESS', '* The 'E-Mail Address' entry must have at least ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' characters.n');

define('JS_ADDRESS', '* The 'Street Address' entry must have at least ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' characters.n');

define('JS_POST_CODE', '* The 'Post Code' entry must have at least ' . ENTRY_POSTCODE_MIN_LENGTH . ' characters.n');

define('JS_CITY', '* The 'City' entry must have at least ' . ENTRY_CITY_MIN_LENGTH . ' characters.n');

define('JS_STATE', '* The 'State' entry is must be selected.n');

define('JS_STATE_SELECT', '-- Select Above --');

define('JS_ZONE', '* The 'State' entry must be selected from the list for this country.');

define('JS_COUNTRY', '* The 'Country' value must be chosen.n');

define('JS_TELEPHONE', '* The 'Telephone Number' entry must have at least ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.n');

define('JS_PASSWORD', '* The 'Password' amd 'Confirmation' entries must match amd have at least ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.n');

 

define('JS_ORDER_DOES_NOT_EXIST', 'Order Number %s does not exist!');

 

define('CATEGORY_PERSONAL', 'Personal');

define('CATEGORY_ADDRESS', 'Address');

define('CATEGORY_CONTACT', 'Contact');

define('CATEGORY_COMPANY', 'Company');

define('CATEGORY_PASSWORD', 'Password');

define('CATEGORY_OPTIONS', 'Options');

define('ENTRY_GENDER', 'Gender:');

define('ENTRY_FIRST_NAME', 'First Name:');

define('ENTRY_LAST_NAME', 'Last Name:');

define('ENTRY_DATE_OF_BIRTH', 'Date of Birth:');

define('ENTRY_EMAIL_ADDRESS', 'E-Mail Address:');

define('ENTRY_COMPANY', 'Company name:');

define('ENTRY_STREET_ADDRESS', 'Street Address:');

define('ENTRY_SUBURB', 'Suburb:');

define('ENTRY_POST_CODE', 'Post Code:');

define('ENTRY_CITY', 'City:');

define('ENTRY_STATE', 'State:');

define('ENTRY_COUNTRY', 'Country:');

define('ENTRY_TELEPHONE_NUMBER', 'Telephone Number:');

define('ENTRY_FAX_NUMBER', 'Fax Number:');

define('ENTRY_NEWSLETTER', 'Newsletter:');

define('ENTRY_NEWSLETTER_YES', 'subscribes');

define('ENTRY_NEWSLETTER_NO', 'unsubscribes');

define('ENTRY_PASSWORD', 'Password:');

define('ENTRY_PASSWORD_CONFIRMATION', 'Password Confirmation:');

define('PASSWORD_HIDDEN', '--HIDDEN--');

 

// images

define('IMAGE_ANI_SEND_EMAIL', 'Sending E-Mail');

define('IMAGE_BACK', 'Back');

define('IMAGE_BACKUP', 'Backup');

define('IMAGE_CANCEL', 'Cancel');

define('IMAGE_CONFIRM', 'Confirm');

define('IMAGE_COPY', 'Copy');

define('IMAGE_COPY_TO', 'Copy To');

define('IMAGE_DEFINE', 'Define');

define('IMAGE_DELETE', 'Delete');

define('IMAGE_EDIT', 'Edit');

define('IMAGE_EMAIL', 'Email');

define('IMAGE_FILE_MANAGER', 'File Manager');

define('IMAGE_ICON_STATUS_GREEN', 'Active');

define('IMAGE_ICON_STATUS_GREEN_LIGHT', 'Set Active');

define('IMAGE_ICON_STATUS_RED', 'Inactive');

define('IMAGE_ICON_STATUS_RED_LIGHT', 'Set Inactive');

define('IMAGE_ICON_INFO', 'Info');

define('IMAGE_INSERT', 'Insert');

define('IMAGE_LOCK', 'Lock');

define('IMAGE_MOVE', 'Move');

define('IMAGE_NEW_BANNER', 'New Banner');

define('IMAGE_NEW_CATEGORY', 'New Category');

define('IMAGE_NEW_COUNTRY', 'New Country');

define('IMAGE_NEW_CURRENCY', 'New Currency');

define('IMAGE_NEW_FILE', 'New File');

define('IMAGE_NEW_FOLDER', 'New Folder');

define('IMAGE_NEW_LANGUAGE', 'New Language');

define('IMAGE_NEW_NEWSLETTER', 'New Newsletter');

define('IMAGE_NEW_PRODUCT', 'New Product');

define('IMAGE_NEW_TAX_CLASS', 'New Tax Class');

define('IMAGE_NEW_TAX_RATE', 'New Tax Rate');

define('IMAGE_NEW_TAX_ZONE', 'New Tax Zone');

define('IMAGE_NEW_ZONE', 'New Zone');

define('IMAGE_ORDERS', 'Orders');

define('IMAGE_ORDERS_INVOICE', 'Invoice');

define('IMAGE_ORDERS_PACKINGSLIP', 'Packing Slip');

define('IMAGE_PREVIEW', 'Preview');

define('IMAGE_RESTORE', 'Restore');

define('IMAGE_RESET', 'Reset');

define('IMAGE_SAVE', 'Save');

define('IMAGE_SEARCH', 'Search');

define('IMAGE_SELECT', 'Select');

define('IMAGE_SEND', 'Send');

define('IMAGE_UNLOCK', 'Unlock');

define('IMAGE_UPDATE', 'Update');

define('IMAGE_UPDATE_CURRENCIES', 'Update Exchange Rate');

define('IMAGE_UPLOAD', 'Upload');

 

define('ICON_CROSS', 'False');

define('ICON_CURRENT_FOLDER', 'Current Folder');

define('ICON_DELETE', 'Delete');

define('ICON_ERROR', 'Error');

define('ICON_FILE', 'File');

define('ICON_FILE_DOWNLOAD', 'Download');

define('ICON_FOLDER', 'Folder');

define('ICON_LOCKED', 'Locked');

define('ICON_PREVIOUS_LEVEL', 'Previous Level');

define('ICON_PREVIEW', 'Preview');

define('ICON_STATISTICS', 'Statistics');

define('ICON_SUCCESS', 'Success');

define('ICON_TICK', 'True');

define('ICON_UNLOCKED', 'Unlocked');

define('ICON_WARNING', 'Warning');

 

// constants for use in tep_prev_next_display function

define('TEXT_RESULT_PAGE', 'Page %s of %d');

define('TEXT_DISPLAY_NUMBER_OF_BANNERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> banners)');

define('TEXT_DISPLAY_NUMBER_OF_COUNTRIES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> countries)');

define('TEXT_DISPLAY_NUMBER_OF_CUSTOMERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> customers)');

define('TEXT_DISPLAY_NUMBER_OF_CURRENCIES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> currencies)');

define('TEXT_DISPLAY_NUMBER_OF_LANGUAGES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> languages)');

define('TEXT_DISPLAY_NUMBER_OF_MANUFACTURERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> manufacturers)');

define('TEXT_DISPLAY_NUMBER_OF_NEWSLETTERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> newsletters)');

define('TEXT_DISPLAY_NUMBER_OF_ORDERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> orders)');

define('TEXT_DISPLAY_NUMBER_OF_ORDERS_STATUS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> orders status)');

define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products)');

define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS_EXPECTED', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products expected)');

define('TEXT_DISPLAY_NUMBER_OF_REVIEWS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> product reviews)');

define('TEXT_DISPLAY_NUMBER_OF_SPECIALS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products on special)');

define('TEXT_DISPLAY_NUMBER_OF_TAX_CLASSES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> tax classes)');

define('TEXT_DISPLAY_NUMBER_OF_TAX_ZONES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> tax zones)');

define('TEXT_DISPLAY_NUMBER_OF_TAX_RATES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> tax rates)');

define('TEXT_DISPLAY_NUMBER_OF_ZONES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> zones)');

 

define('PREVNEXT_BUTTON_PREV', '<<');

define('PREVNEXT_BUTTON_NEXT', '>>');

 

define('TEXT_DEFAULT', 'default');

define('TEXT_SET_DEFAULT', 'Set as default');

define('TEXT_FIELD_REQUIRED', ' <span class="fieldRequired">* Required</span>');

 

define('ERROR_NO_DEFAULT_CURRENCY_DEFINED', 'Error: There is currently no default currency set. Please set one at: Administration Tool->Localization->Currencies');

 

define('TEXT_CACHE_CATEGORIES', 'Categories Box');

define('TEXT_CACHE_MANUFACTURERS', 'Manufacturers Box');

define('TEXT_CACHE_ALSO_PURCHASED', 'Also Purchased Module');

 

define('TEXT_NONE', '--none--');

define('TEXT_TOP', 'Top');

?>

Link to comment
Share on other sites

// tools text in includes/boxes/helpdesk.php

define('BOX_HEADING_HELPDESK', 'Helpdesk');

define('BOX_HELPDESK', 'Helpdesk Admin');

define('BOX_HELPDESK_VIEW', 'View Tickets');

define('BOX_HELPDESK_CLOSED', 'Closed Tickets');

define('BOX_HELPDESK_SEARCH', 'Search Tickets');

define('BOX_HELPDESK_ADDUSER', 'Add User');

define('BOX_HELPDESK_EDITUSER', 'Edit User');

define('BOX_HELPDESK_DELUSER', 'Delete User');

 

Reports

REPORTS_PRODUCTS, REPORTS_ORDERS

 

Helpdesk

HELPDESK_VIEW, HELPDESK_SEARCH

 

 

i'm not expert at this, but do you see a difference?

 

try putting this down

define('HELPDESK_VIEW', 'Closed Tickets');

define('HELPDESK_SEARCH', 'Search Tickets');

 

anywhere in that file, and see if it helps.[/code]

Link to comment
Share on other sites

Tried your suggestion but that didn't work. Does help if you use the correct file. Was using the catalogue files and not the ADMIN files.

 

Anyway made the edits to the ADMIN Language file and it WORKED!!

 

Finally twigged to the differences in the code.

 

Thanks for the help! Very much appreciated.

 

ChrisM

Link to comment
Share on other sites

ALMOST but not quite!

 

Made the edits as suggested and they worked! In that area ONLY.

 

They following is my current Admin Panel

 

osCommerce

BOX_ENTRY_SUPPORT_SITE

BOX_ENTRY_SUPPORT_FORUMS

BOX_ENTRY_MAILING_LISTS

BOX_ENTRY_BUG_REPORTS

BOX_ENTRY_FAQ

BOX_ENTRY_LIVE_DISCUSSIONS

BOX_ENTRY_CVS_REPOSITORY

BOX_ENTRY_INFORMATION_PORTAL

 

BOX_TITLE_ORDERS

Pending: 5

Processing: 0

Delivered: 2

Back Order: 0

 

BOX_TITLE_STATISTICS

BOX_ENTRY_CUSTOMERS 3

BOX_ENTRY_PRODUCTS 52

BOX_ENTRY_REVIEWS 0

 

HEADING_TITLE English

 

Configuration

My Store, Logging, Cache

 

Modules

Payment, Shipping

 

Catalog

CATALOG_CONTENTS, Manufacturers

 

Locations / Taxes

Countries, Tax Zones

 

Customers

Customers, Orders

 

Localization

Currencies, Languages

 

BOX_HEADING_REPORTS

REPORTS_PRODUCTS, REPORTS_ORDERS

 

Helpdesk

View Tickets, Search Tickets

 

 

Tools

TOOLS_BACKUP, TOOLS_BANNERS, TOOLS_FILES

 

 

Help still required

 

ChrisM

Link to comment
Share on other sites

I'm having exact the same problem...

 

I'm using OSC snapshot 14 Nov 2002 on Freebsd 4.7, with Apache/2.0.43 (Unix) PHP/4.2.3 mod_ssl/2.0.43 OpenSSL/0.9.6g

 

Anyone gotta clue???

 

grtz

etienne

 

 

 

ALMOST but not quite!

 

Made the edits as suggested and they worked! In that area ONLY.

 

They following is my current Admin Panel

 

osCommerce

BOX_ENTRY_SUPPORT_SITE

BOX_ENTRY_SUPPORT_FORUMS

BOX_ENTRY_MAILING_LISTS

BOX_ENTRY_BUG_REPORTS

BOX_ENTRY_FAQ

BOX_ENTRY_LIVE_DISCUSSIONS

BOX_ENTRY_CVS_REPOSITORY

BOX_ENTRY_INFORMATION_PORTAL

 

BOX_TITLE_ORDERS

Pending: 5

Processing: 0

Delivered: 2

Back Order: 0

 

BOX_TITLE_STATISTICS

BOX_ENTRY_CUSTOMERS 3

BOX_ENTRY_PRODUCTS 52

BOX_ENTRY_REVIEWS 0

 

HEADING_TITLE English

 

Configuration

My Store, Logging, Cache

 

Modules

Payment, Shipping

 

Catalog

CATALOG_CONTENTS, Manufacturers

 

Locations / Taxes

Countries, Tax Zones

 

Customers

Customers, Orders

 

Localization

Currencies, Languages

 

BOX_HEADING_REPORTS

REPORTS_PRODUCTS, REPORTS_ORDERS

 

Helpdesk

View Tickets, Search Tickets

 

 

Tools

TOOLS_BACKUP, TOOLS_BANNERS, TOOLS_FILES

 

 

Help still required

 

ChrisM

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...