Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing the Admin layout & look.


Guest

Recommended Posts

Posted

Is there any documentation or contributions that will allow me to change the look of the Admin area of osCommerce?

 

Thanks,

Brandon

Posted
Is there any documentation or contributions that will allow me to change the look of the Admin area of osCommerce?

 

Thanks,

Brandon

 

 

There is one found HERE

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted
Basically - no. At least not that I know of.

 

Vger

Hey vger--is it possible to add the fixed width with css for admin? I would assume if it could be done then you have done it--I will try to muck around a bit and see---but if you have made something similar work please let me know which files to change--I would be much appreciative!

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Posted

There's no reason why you can't use the Fixed Width contribution in admin - just never done it.

 

Vger

Posted
Why would anyone want to? It's only you who will see it!

or the people you set sites up for--customizing admin is very rewarding if the client is happy with the look and use--just my opinion :thumbsup:

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Posted

just to report that it works very well, just the same 3 files to edit for fixed width in admin, thanx again Vger for all you do and have done here!

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Posted
or the people you set sites up for--customizing admin is very rewarding if the client is happy with the look and use--just my opinion :thumbsup:

 

Yeah, fairplay! It's all money at the end of the day. B)

Posted
Yeah, fairplay! It's all money at the end of the day. B)

and general satisfaction--the standard look of the basic install is depressing--good to liven it up some :blink:

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

  • 1 year later...
Posted
There is one found HERE

 

 

Dear Richard

 

I installed the contribution. It changed the look of my admin menu alright. But none of the links are now working. I reverted back to my old files and still they are not working. The following error is shown:

 

Server not found

Firefox can't find the server at www.vmart.pkdir_ws_adminorders.php.

 

* Check the address for typing errors such as

ww.example.com instead of

www.example.com

* If you are unable to load any pages, check your computer's network

connection.

* If your computer or network is protected by a firewall or proxy, make sure

that Firefox is permitted to access the Web.

 

 

The two files that were edited by me are the following:

 

1. main/admin/index.php

2. main/includes/languages/english.php

 

The following are the codes of my backed up versions of

 

main/admin/index.php

------------------------------

 

 

<?php

/*

$Id: index.php,v 1.19 2003/06/27 09:38:31 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2006 osCommerce

 

Released under the GNU General Public License

*/

 

require('includes/application_top.php');

 

$cat = array(array('title' => BOX_HEADING_CONFIGURATION,

'image' => 'configuration.gif',

'href' => tep_href_link(FILENAME_CONFIGURATION, 'selected_box=configuration&gID=1'),

'children' => array(array('title' => BOX_CONFIGURATION_MYSTORE, 'link' => tep_href_link(FILENAME_CONFIGURATION, 'selected_box=configuration&gID=1')),

array('title' => BOX_CONFIGURATION_LOGGING, 'link' => tep_href_link(FILENAME_CONFIGURATION, 'selected_box=configuration&gID=10')),

array('title' => BOX_CONFIGURATION_CACHE, 'link' => tep_href_link(FILENAME_CONFIGURATION, 'selected_box=configuration&gID=11')))),

array('title' => BOX_HEADING_MODULES,

'image' => 'modules.gif',

'href' => tep_href_link(FILENAME_MODULES, 'selected_box=modules&set=payment'),

'children' => array(array('title' => BOX_MODULES_PAYMENT, 'link' => tep_href_link(FILENAME_MODULES, 'selected_box=modules&set=payment')),

array('title' => BOX_MODULES_SHIPPING, 'link' => tep_href_link(FILENAME_MODULES, 'selected_box=modules&set=shipping')))),

array('title' => BOX_HEADING_CATALOG,

'image' => 'catalog.gif',

'href' => tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog'),

'children' => array(array('title' => CATALOG_CONTENTS, 'link' => tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog')),

array('title' => BOX_CATALOG_MANUFACTURERS, 'link' => tep_href_link(FILENAME_MANUFACTURERS, 'selected_box=catalog')))),

array('title' => BOX_HEADING_LOCATION_AND_TAXES,

'image' => 'location.gif',

'href' => tep_href_link(FILENAME_COUNTRIES, 'selected_box=taxes'),

'children' => array(array('title' => BOX_TAXES_COUNTRIES, 'link' => tep_href_link(FILENAME_COUNTRIES, 'selected_box=taxes')),

array('title' => BOX_TAXES_GEO_ZONES, 'link' => tep_href_link(FILENAME_GEO_ZONES, 'selected_box=taxes')))),

array('title' => BOX_HEADING_CUSTOMERS,

'image' => 'customers.gif',

'href' => tep_href_link(FILENAME_CUSTOMERS, 'selected_box=customers'),

'children' => array(array('title' => BOX_CUSTOMERS_CUSTOMERS, 'link' => tep_href_link(FILENAME_CUSTOMERS, 'selected_box=customers')),

array('title' => BOX_CUSTOMERS_ORDERS, 'link' => tep_href_link(FILENAME_ORDERS, 'selected_box=customers')))),

array('title' => BOX_HEADING_LOCALIZATION,

'image' => 'localization.gif',

'href' => tep_href_link(FILENAME_CURRENCIES, 'selected_box=localization'),

'children' => array(array('title' => BOX_LOCALIZATION_CURRENCIES, 'link' => tep_href_link(FILENAME_CURRENCIES, 'selected_box=localization')),

array('title' => BOX_LOCALIZATION_LANGUAGES, 'link' => tep_href_link(FILENAME_LANGUAGES, 'selected_box=localization')))),

array('title' => BOX_HEADING_REPORTS,

'image' => 'reports.gif',

'href' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports'),

'children' => array(array('title' => REPORTS_PRODUCTS, 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, 'selected_box=reports')),

array('title' => REPORTS_ORDERS, 'link' => tep_href_link(FILENAME_STATS_CUSTOMERS, 'selected_box=reports')))),

array('title' => BOX_HEADING_TOOLS,

'image' => 'tools.gif',

'href' => tep_href_link(FILENAME_BACKUP, 'selected_box=tools'),

'children' => array(array('title' => TOOLS_BACKUP, 'link' => tep_href_link(FILENAME_BACKUP, 'selected_box=tools')),

array('title' => TOOLS_BANNERS, 'link' => tep_href_link(FILENAME_BANNER_MANAGER, 'selected_box=tools')),

array('title' => TOOLS_FILES, 'link' => tep_href_link(FILENAME_FILE_MANAGER, 'selected_box=tools')))));

 

$languages = tep_get_languages();

$languages_array = array();

$languages_selected = DEFAULT_LANGUAGE;

for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {

$languages_array[] = array('id' => $languages[$i]['code'],

'text' => $languages[$i]['name']);

if ($languages[$i]['directory'] == $language) {

$languages_selected = $languages[$i]['code'];

}

}

?>

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

<style type="text/css"><!--

a { color:#080381; text-decoration:none; }

a:hover { color:#aabbdd; text-decoration:underline; }

a.text:link, a.text:visited { color: #000000; text-decoration: none; }

a:text:hover { color: #000000; text-decoration: underline; }

a.main:link, a.main:visited { color: #ffffff; text-decoration: none; }

A.main:hover { color: #ffffff; text-decoration: underline; }

a.sub:link, a.sub:visited { color: #dddddd; text-decoration: none; }

A.sub:hover { color: #dddddd; text-decoration: underline; }

.heading { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 20px; font-weight: bold; line-height: 1.5; color: #D3DBFF; }

.main { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 17px; font-weight: bold; line-height: 1.5; color: #ffffff; }

.sub { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 1.5; color: #dddddd; }

.text { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; line-height: 1.5; color: #000000; }

.menuBoxHeading { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #ffffff; font-weight: bold; background-color: #7187bb; border-color: #7187bb; border-style: solid; border-width: 1px; }

.infoBox { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #080381; background-color: #f2f4ff; border-color: #7187bb; border-style: solid; border-width: 1px; }

.smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; }

//--></style>

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">

 

<table border="0" width="600" height="100%" cellspacing="0" cellpadding="0" align="center" valign="middle">

<tr>

<td><table border="0" width="600" height="440" cellspacing="0" cellpadding="1" align="center" valign="middle">

<tr bgcolor="#000000">

<td><table border="0" width="600" height="440" cellspacing="0" cellpadding="0">

<tr bgcolor="#ffffff" height="50">

<td height="50"><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce', '204', '50'); ?></td>

<td align="right" class="text" nowrap><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . HEADER_TITLE_ADMINISTRATION . '</a>  |  <a href="' . tep_catalog_href_link() . '">' . HEADER_TITLE_ONLINE_CATALOG . '</a>  |  <a href="http://www.boundlesstech.net" target="_blank">' . HEADER_TITLE_SUPPORT_SITE . '</a>'; ?>  </td>

</tr>

<tr bgcolor="#080381">

<td colspan="2"><table border="0" width="460" height="390" cellspacing="0" cellpadding="2">

<tr valign="top">

<td width="140" valign="top"><table border="0" width="140" height="390" cellspacing="0" cellpadding="2">

<tr>

<td valign="top"><br>

<?php

$heading = array();

$contents = array();

 

$heading[] = array('params' => 'class="menuBoxHeading"',

'text' => 'VMART');

 

$box = new box;

echo $box->menuBox($heading, $contents);

 

echo '<br>';

 

$orders_contents = '';

$orders_status_query = tep_db_query("select orders_status_name, orders_status_id from " . TABLE_ORDERS_STATUS . " where language_id = '" . $languages_id . "'");

while ($orders_status = tep_db_fetch_array($orders_status_query)) {

$orders_pending_query = tep_db_query("select count(*) as count from " . TABLE_ORDERS . " where orders_status = '" . $orders_status['orders_status_id'] . "'");

$orders_pending = tep_db_fetch_array($orders_pending_query);

$orders_contents .= '<a href="' . tep_href_link(FILENAME_ORDERS, 'selected_box=customers&status=' . $orders_status['orders_status_id']) . '">' . $orders_status['orders_status_name'] . '</a>: ' . $orders_pending['count'] . '<br>';

}

$orders_contents = substr($orders_contents, 0, -4);

 

$heading = array();

$contents = array();

 

$heading[] = array('params' => 'class="menuBoxHeading"',

'text' => BOX_TITLE_ORDERS);

 

$contents[] = array('params' => 'class="infoBox"',

'text' => $orders_contents);

 

$box = new box;

echo $box->menuBox($heading, $contents);

 

echo '<br>';

 

$customers_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS);

$customers = tep_db_fetch_array($customers_query);

$products_query = tep_db_query("select count(*) as count from " . TABLE_PRODUCTS . " where products_status = '1'");

$products = tep_db_fetch_array($products_query);

$reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS);

$reviews = tep_db_fetch_array($reviews_query);

 

$heading = array();

$contents = array();

 

$heading[] = array('params' => 'class="menuBoxHeading"',

'text' => BOX_TITLE_STATISTICS);

 

$contents[] = array('params' => 'class="infoBox"',

'text' => BOX_ENTRY_CUSTOMERS . ' ' . $customers['count'] . '<br>' .

BOX_ENTRY_PRODUCTS . ' ' . $products['count'] . '<br>' .

BOX_ENTRY_REVIEWS . ' ' . $reviews['count']);

 

$box = new box;

echo $box->menuBox($heading, $contents);

 

echo '<br>';

 

$contents = array();

 

if (getenv('HTTPS') == 'on') {

$size = ((getenv('SSL_CIPHER_ALGKEYSIZE')) ? getenv('SSL_CIPHER_ALGKEYSIZE') . '-bit' : '<i>' . BOX_CONNECTION_UNKNOWN . '</i>');

$contents[] = array('params' => 'class="infoBox"',

'text' => tep_image(DIR_WS_ICONS . 'locked.gif', ICON_LOCKED, '', '', 'align="right"') . sprintf(BOX_CONNECTION_PROTECTED, $size));

} else {

$contents[] = array('params' => 'class="infoBox"',

'text' => tep_image(DIR_WS_ICONS . 'unlocked.gif', ICON_UNLOCKED, '', '', 'align="right"') . BOX_CONNECTION_UNPROTECTED);

}

 

$box = new box;

echo $box->tableBlock($contents);

?>

</td>

</tr>

</table></td>

<td width="460"><table border="0" width="460" height="390" cellspacing="0" cellpadding="2">

<tr>

<td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr><?php echo tep_draw_form('languages', 'index.php', '', 'get'); ?>

<td class="heading"><?php echo HEADING_TITLE; ?></td>

<td align="right"><?php echo tep_draw_pull_down_menu('language', $languages_array, $languages_selected, 'onChange="this.form.submit();"'); ?></td>

</form></tr>

</table></td>

</tr>

<?php

$col = 2;

$counter = 0;

for ($i = 0, $n = sizeof($cat); $i < $n; $i++) {

$counter++;

if ($counter < $col) {

echo ' <tr>' . "\n";

}

 

echo ' <td><table border="0" cellspacing="0" cellpadding="2">' . "\n" .

' <tr>' . "\n" .

' <td><a href="' . $cat[$i]['href'] . '">' . tep_image(DIR_WS_IMAGES . 'categories/' . $cat[$i]['image'], $cat[$i]['title'], '32', '32') . '</a></td>' . "\n" .

' <td><table border="0" cellspacing="0" cellpadding="2">' . "\n" .

' <tr>' . "\n" .

' <td class="main"><a href="' . $cat[$i]['href'] . '" class="main">' . $cat[$i]['title'] . '</a></td>' . "\n" .

' </tr>' . "\n" .

' <tr>' . "\n" .

' <td class="sub">';

 

$children = '';

for ($j = 0, $k = sizeof($cat[$i]['children']); $j < $k; $j++) {

$children .= '<a href="' . $cat[$i]['children'][$j]['link'] . '" class="sub">' . $cat[$i]['children'][$j]['title'] . '</a>, ';

}

echo substr($children, 0, -2);

 

echo '</td> ' . "\n" .

' </tr>' . "\n" .

' </table></td>' . "\n" .

' </tr>' . "\n" .

' </table></td>' . "\n";

 

if ($counter >= $col) {

echo ' </tr>' . "\n";

$counter = 0;

}

}

?>

</table></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

<tr>

<td><?php require(DIR_WS_INCLUDES . 'footer.php'); ?></td>

</tr>

</table></td>

</tr>

</table>

 

</body>

 

</html>

 

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

 

 

main/includes/languages/english.php

-------------------------------------

 

<?php

/*

$Id: english.php,v 1.106 2003/06/20 00:18:31 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 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');

 

// ################# Contribution Newsletter v050 ##############

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

define('HEADING_INFOS_TITLE','Newsletter Management');

define('HEADING_TITLE','Newsletter');

define('BOX_HEADING_NEWSLETTER', 'Newsletter');

define('BOX_NEWSLETTER_ADMIN', 'Newsletter Admin');

define('BOX_NEWSLETTER_EXTRA_INFOS', 'Header/Footer Info');

define('BOX_NEWSLETTER_UPDATE', 'Update Table');

define('BOX_NEWSLETTER_SUBSCRIBERS_UTILITIES', 'Utilities');

define('BOX_NEWSLETTER_SUBSCRIBERS_VIEW', 'Subscribers Admin');

define('BOX_NEWSLETTER_EXTRA_DEFAULT', 'Newsletter Default');

define('BOX_CUSTOMERS_NEWSLETTER_MANAGER', 'Newsletter Admin');

define('TABLE_HEADING_EMAIL','E Mails');

define('TEXT_UNSUBSCRIBE','Unsubscribe : ');

// ################# END - Contribution Newsletter v050 ##############

// 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/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:\n\n');

 

define('JS_OPTIONS_VALUE_PRICE', '* The new product atribute needs a price value\n');

define('JS_OPTIONS_VALUE_PRICE_PREFIX', '* The new product atribute needs a price prefix\n');

 

define('JS_PRODUCTS_NAME', '* The new product needs a name\n');

define('JS_PRODUCTS_DESCRIPTION', '* The new product needs a description\n');

define('JS_PRODUCTS_PRICE', '* The new product needs a price value\n');

define('JS_PRODUCTS_WEIGHT', '* The new product needs a weight value\n');

define('JS_PRODUCTS_QUANTITY', '* The new product needs a quantity value\n');

define('JS_PRODUCTS_MODEL', '* The new product needs a model value\n');

define('JS_PRODUCTS_IMAGE', '* The new product needs an image value\n');

 

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

 

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_OPTIONS', 'Options');

 

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

define('ENTRY_GENDER_ERROR', ' <span class="errorText">required</span>');

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

define('ENTRY_FIRST_NAME_ERROR', ' <span class="errorText">min ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' chars</span>');

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

define('ENTRY_LAST_NAME_ERROR', ' <span class="errorText">min ' . ENTRY_LAST_NAME_MIN_LENGTH . ' chars</span>');

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

define('ENTRY_DATE_OF_BIRTH_ERROR', ' <span class="errorText">(eg. 05/21/1970)</span>');

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

define('ENTRY_EMAIL_ADDRESS_ERROR', ' <span class="errorText">min ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' chars</span>');

define('ENTRY_EMAIL_ADDRESS_CHECK_ERROR', ' <span class="errorText">The email address doesn\'t appear to be valid!</span>');

define('ENTRY_EMAIL_ADDRESS_ERROR_EXISTS', ' <span class="errorText">This email address already exists!</span>');

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

define('ENTRY_COMPANY_ERROR', '');

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

define('ENTRY_STREET_ADDRESS_ERROR', ' <span class="errorText">min ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' chars</span>');

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

define('ENTRY_SUBURB_ERROR', '');

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

define('ENTRY_POST_CODE_ERROR', ' <span class="errorText">min ' . ENTRY_POSTCODE_MIN_LENGTH . ' chars</span>');

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

define('ENTRY_CITY_ERROR', ' <span class="errorText">min ' . ENTRY_CITY_MIN_LENGTH . ' chars</span>');

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

define('ENTRY_STATE_ERROR', ' <span class="errorText">required</span>');

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

define('ENTRY_COUNTRY_ERROR', '');

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

define('ENTRY_TELEPHONE_NUMBER_ERROR', ' <span class="errorText">min ' . ENTRY_TELEPHONE_MIN_LENGTH . ' chars</span>');

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

define('ENTRY_FAX_NUMBER_ERROR', '');

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

define('ENTRY_NEWSLETTER_YES', 'Subscribed');

define('ENTRY_NEWSLETTER_NO', 'Unsubscribed');

define('ENTRY_NEWSLETTER_ERROR', '');

 

// 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_DETAILS', 'Details');

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_MODULE_INSTALL', 'Install Module');

define('IMAGE_MODULE_REMOVE', 'Remove Module');

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_SEND_EMAIL', 'Send Email');

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');

 

define('ERROR_DESTINATION_DOES_NOT_EXIST', 'Error: Destination does not exist.');

define('ERROR_DESTINATION_NOT_WRITEABLE', 'Error: Destination not writeable.');

define('ERROR_FILE_NOT_SAVED', 'Error: File upload not saved.');

define('ERROR_FILETYPE_NOT_ALLOWED', 'Error: File upload type not allowed.');

define('SUCCESS_FILE_SAVED_SUCCESSFULLY', 'Success: File upload saved successfully.');

define('WARNING_NO_FILE_UPLOADED', 'Warning: No file uploaded.');

define('WARNING_FILE_UPLOADS_DISABLED', 'Warning: File uploads are disabled in the php.ini configuration file.');

 

 

 

?>

 

 

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

 

 

Kindly oblige by helping me out.

 

 

Thanks :)

Posted

 

2. main/includes/languages/english.php

 

[/b]

 

Sorry the actual file is

 

main/admin/includes/languages/english.php

Archived

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

×
×
  • Create New...