|
ZenCart_Documentation
1.5.0
http://www.collinsharper.com
|
00001 <?php 00002 // 00003 // +----------------------------------------------------------------------+ 00004 // |zen-cart Open Source E-commerce | 00005 // +----------------------------------------------------------------------+ 00006 // | Copyright (c) 2003 The zen-cart developers | 00007 // | | 00008 // | http://www.zen-cart.com/index.php | 00009 // | | 00010 // | Portions Copyright (c) 2003 osCommerce | 00011 // +----------------------------------------------------------------------+ 00012 // | This source file is subject to version 2.0 of the GPL license, | 00013 // | that is bundled with this package in the file LICENSE, and is | 00014 // | available through the world-wide-web at the following url: | 00015 // | http://www.zen-cart.com/license/2_0.txt. | 00016 // | If you did not receive a copy of the zen-cart license and are unable | 00017 // | to obtain it through the world-wide-web, please send a note to | 00018 // | [email protected] so we can mail you a copy immediately. | 00019 // +----------------------------------------------------------------------+ 00020 // $Id: banner_manager.php 3131 2006-03-07 22:53:04Z ajeh $ 00021 // 00022 00023 define('HEADING_TITLE', 'Banner Manager'); 00024 00025 define('TABLE_HEADING_BANNERS', 'Banners'); 00026 define('TABLE_HEADING_GROUPS', 'Groups'); 00027 define('TABLE_HEADING_STATISTICS', 'Displays / Clicks'); 00028 define('TABLE_HEADING_STATUS', 'Status'); 00029 define('TABLE_HEADING_BANNER_OPEN_NEW_WINDOWS','New Window'); 00030 define('TABLE_HEADING_BANNER_ON_SSL', 'Show SSL'); 00031 define('TABLE_HEADING_ACTION', 'Action'); 00032 define('TABLE_HEADING_BANNER_SORT_ORDER', 'Sort<br />Order'); 00033 00034 define('TEXT_BANNERS_TITLE', 'Banner Title:'); 00035 define('TEXT_BANNERS_URL', 'Banner URL:'); 00036 define('TEXT_BANNERS_GROUP', 'Banner Group:'); 00037 define('TEXT_BANNERS_NEW_GROUP', ', or enter a new banner group below'); 00038 define('TEXT_BANNERS_IMAGE', 'Image:'); 00039 define('TEXT_BANNERS_IMAGE_LOCAL', ', or enter local file below'); 00040 define('TEXT_BANNERS_IMAGE_TARGET', 'Image Target (Save To):'); 00041 define('TEXT_BANNER_IMAGE_TARGET_INFO', '<strong>Suggested Target location for the image on the server:</strong> ' . DIR_FS_CATALOG_IMAGES . 'banners/'); 00042 define('TEXT_BANNERS_HTML_TEXT_INFO', '<strong>NOTE: HTML banners do not record the clicks on the banner</strong>'); 00043 define('TEXT_BANNERS_HTML_TEXT', 'HTML Text:'); 00044 define('TEXT_BANNERS_ALL_SORT_ORDER', 'Sort Order - banner_box_all'); 00045 define('TEXT_BANNERS_ALL_SORT_ORDER_INFO', '<strong>NOTE: The banners_box_all sidebox will display the banners in their defined sort order</strong>'); 00046 define('TEXT_BANNERS_EXPIRES_ON', 'Expires On:'); 00047 define('TEXT_BANNERS_OR_AT', ', or at'); 00048 define('TEXT_BANNERS_IMPRESSIONS', 'impressions/views.'); 00049 define('TEXT_BANNERS_SCHEDULED_AT', 'Scheduled At:'); 00050 define('TEXT_BANNERS_BANNER_NOTE', '<b>Banner Notes:</b><ul><li>Use an image or HTML text for the banner - not both.</li><li>HTML Text has priority over an image</li><li>HTML Text will not register the click thru, but will register displays</li><li>Banners with absolute image URLs should not be displayed on secure pages</li></ul>'); 00051 define('TEXT_BANNERS_INSERT_NOTE', '<b>Image Notes:</b><ul><li>Uploading directories must have proper user (write) permissions setup!</li><li>Do not fill out the \'Save To\' field if you are not uploading an image to the webserver (ie, you are using a local (serverside) image).</li><li>The \'Save To\' field must be an existing directory with an ending slash (eg, banners/).</li></ul>'); 00052 define('TEXT_BANNERS_EXPIRCY_NOTE', '<b>Expiry Notes:</b><ul><li>Only one of the two fields should be submitted</li><li>If the banner is not to expire automatically, then leave these fields blank</li></ul>'); 00053 define('TEXT_BANNERS_SCHEDULE_NOTE', '<b>Schedule Notes:</b><ul><li>If a schedule is set, the banner will be activated on that date.</li><li>All scheduled banners are marked as inactive until their date has arrived, to which they will then be marked active.</li></ul>'); 00054 define('TEXT_BANNERS_STATUS', 'Banner Status:'); 00055 define('TEXT_BANNERS_ACTIVE', 'Active'); 00056 define('TEXT_BANNERS_NOT_ACTIVE', 'Not Active'); 00057 define('TEXT_INFO_BANNER_STATUS', '<strong>NOTE:</strong> Banner status will be updated based on Scheduled Date and Impressions'); 00058 define('TEXT_BANNERS_OPEN_NEW_WINDOWS', 'Banner New Window'); 00059 define('TEXT_INFO_BANNER_OPEN_NEW_WINDOWS', '<strong>NOTE:</strong> Banner will open in a new window'); 00060 define('TEXT_BANNERS_ON_SSL', 'Banner on SSL'); 00061 define('TEXT_INFO_BANNER_ON_SSL', '<strong>NOTE:</strong> Banner can be displayed on Secure Pages without errors'); 00062 00063 define('TEXT_BANNERS_DATE_ADDED', 'Date Added:'); 00064 define('TEXT_BANNERS_SCHEDULED_AT_DATE', 'Scheduled At: <b>%s</b>'); 00065 define('TEXT_BANNERS_EXPIRES_AT_DATE', 'Expires At: <b>%s</b>'); 00066 define('TEXT_BANNERS_EXPIRES_AT_IMPRESSIONS', 'Expires At: <b>%s</b> impressions'); 00067 define('TEXT_BANNERS_STATUS_CHANGE', 'Status Change: %s'); 00068 00069 define('TEXT_BANNERS_DATA', 'D<br>A<br>T<br>A'); 00070 define('TEXT_BANNERS_LAST_3_DAYS', 'Last 3 Days'); 00071 define('TEXT_BANNERS_BANNER_VIEWS', 'Banner Views'); 00072 define('TEXT_BANNERS_BANNER_CLICKS', 'Banner Clicks'); 00073 00074 define('TEXT_INFO_DELETE_INTRO', 'Are you sure you want to delete this banner?'); 00075 define('TEXT_INFO_DELETE_IMAGE', 'Delete banner image'); 00076 00077 define('SUCCESS_BANNER_INSERTED', 'Success: The banner has been inserted.'); 00078 define('SUCCESS_BANNER_UPDATED', 'Success: The banner has been updated.'); 00079 define('SUCCESS_BANNER_REMOVED', 'Success: The banner has been removed.'); 00080 define('SUCCESS_BANNER_STATUS_UPDATED', 'Success: The status of the banner has been updated.'); 00081 00082 define('ERROR_BANNER_TITLE_REQUIRED', 'Error: Banner title required.'); 00083 define('ERROR_BANNER_GROUP_REQUIRED', 'Error: Banner group required.'); 00084 define('ERROR_IMAGE_DIRECTORY_DOES_NOT_EXIST', 'Error: Target directory does not exist: %s'); 00085 define('ERROR_IMAGE_DIRECTORY_NOT_WRITEABLE', 'Error: Target directory is not writeable: %s'); 00086 define('ERROR_IMAGE_DOES_NOT_EXIST', 'Error: Image does not exist.'); 00087 define('ERROR_IMAGE_IS_NOT_WRITEABLE', 'Error: Image can not be removed.'); 00088 define('ERROR_UNKNOWN_STATUS_FLAG', 'Error: Unknown status flag.'); 00089 define('ERROR_BANNER_IMAGE_REQUIRED', 'Error: Banner image required.'); 00090 00091 define('ERROR_GRAPHS_DIRECTORY_DOES_NOT_EXIST', 'Error: Graphs directory does not exist. Please create a graphs directory example: <strong>' . DIR_WS_ADMIN . 'images/graphs</strong>'); 00092 define('ERROR_GRAPHS_DIRECTORY_NOT_WRITEABLE', 'Error: Graphs directory is not writeable. This is located at: <strong>' . DIR_WS_ADMIN . 'images/graphs</strong>'); 00093 00094 define('TEXT_LEGEND_BANNER_ON_SSL', 'Show SSL'); 00095 define('TEXT_LEGEND_BANNER_OPEN_NEW_WINDOWS', 'New Window'); 00096 00097 // Tooltip Text for images in Banner Manager 00098 define('IMAGE_ICON_BANNER_OPEN_NEW_WINDOWS_ON','Open New Window - Enabled'); 00099 define('IMAGE_ICON_BANNER_OPEN_NEW_WINDOWS_OFF','Open New Window - Disabled'); 00100 define('IMAGE_ICON_BANNER_ON_SSL_ON','Show on Secure Pages - Enabled'); 00101 define('IMAGE_ICON_BANNER_ON_SSL_OFF','Show on Secure Pages - Disabled'); 00102 00103 define('SUCCESS_BANNER_OPEN_NEW_WINDOW_UPDATED', 'Success: The status of the banner to open in a new window has been updated.'); 00104 define('SUCCESS_BANNER_ON_SSL_UPDATED', 'Success: The status of the banner to show on SSL has been updated.'); 00105 ?>