75 lines
3.8 KiB
PHP
75 lines
3.8 KiB
PHP
<?
|
|
// SET GENERAL VARIABLES, AVAILABLE ON EVERY PAGE
|
|
$header_ats_tracking = array();
|
|
$header_ats_tracking['expires_date_subject'] = 'Time of invisibility from all is expired';
|
|
$header_ats_tracking['expires_date_messages'] = 'You can prolong date.<a href="[LINK]">Prolong.</a>';
|
|
$header_ats_tracking['edit_tariffs'] = 'Edit tariffs';
|
|
$header_ats_tracking['settings'] = 'Settings';
|
|
$header_ats_tracking['free'] = 'free';
|
|
$header_ats_tracking['delete_tariff_confirm'] = 'Are you sure you want to delete this tariff?';
|
|
// errors
|
|
$header_ats_tracking['need_title'] = 'Need enter title of category';
|
|
$header_ats_tracking['title_not_unique'] = 'Category with this title is allready exists';
|
|
|
|
// ASSIGN ALL SMARTY GENERAL EXAMPLE VARIABLES
|
|
if (is_array($header_ats_tracking))
|
|
$smarty->assign('header_ats_tracking', $header_ats_tracking);
|
|
|
|
// SET LANGUAGE PAGE VARIABLES
|
|
switch ($page) {
|
|
case 'profile':
|
|
$profile['manage_invisible'] = 'Manage my invisibility';
|
|
$profile['bay_invisible'] = 'I want to be invisible by all';
|
|
$profile['headerPayPal'] = 'Allows you to stay invisible while visiting other members profiles';
|
|
$profile['prolongPayPal'] = 'You may prolong your subsription there';
|
|
$profile['sell_header'] = 'Feature';
|
|
$profile['buy_invisibility'] = 'Buy invisibility';
|
|
$profile['can_set_invisible'] = 'You may set your account as invisible. Other users won`t see you visiting their profiles.';
|
|
$profile['activity_status'] = 'Now your status is';
|
|
$profile['invisible'] = 'Invisible';
|
|
$profile['visible'] = 'Visible';
|
|
$profile['remain_time'] = 'Your account will be invisible';
|
|
$profile['prolong'] = 'Prolong';
|
|
$profile['no_limit'] = 'No limit';
|
|
$profile['days'] = 'days';
|
|
$profile['hours'] = 'hours';
|
|
$profile['prolong_subscribe'] = 'You may prolong invisibility. Check the time and click Buy';
|
|
$profile['show_user_list'] = 'Show list of users';
|
|
$profile['change_to'] = 'Click to change on';
|
|
$profile['delete_checked'] = 'Delete checked';
|
|
$profile['no_quests'] = 'There are no profile views';
|
|
$profile['select'] = 'Select price';
|
|
$profile['invisibility_prolonged'] = 'You are prolong your invisibility to [DAY] days';
|
|
$profile['need_select_price'] = 'Please input valid price';
|
|
$profile['tariff'] = 'Tariff';
|
|
break;
|
|
case 'admin_ats_tracking_prices':
|
|
$admin_ats_tracking_prices['price_must_be_positive'] = 'Enter correct price please';
|
|
$admin_ats_tracking_prices['days_must_be_positive'] = 'Days must be more then 0';
|
|
$admin_ats_tracking_prices['title'] = 'Tariffs';
|
|
$admin_ats_tracking_prices['description'] = 'An unlimited number of tariffs can be created (you are free to choose the number of days and prices for selling invisibility option). Tariffs can be edited and deleted as well.';
|
|
$admin_ats_tracking_prices['price'] = 'Price';
|
|
$admin_ats_tracking_prices['count_days'] = 'Days';
|
|
$admin_ats_tracking_prices['add_tariff'] = 'Add tariff';
|
|
$admin_ats_tracking_prices['edit_tariff'] = 'Edit tariff';
|
|
$admin_ats_tracking_prices['delete_tariff'] = 'Edit tariff';
|
|
//errors messages
|
|
$admin_ats_tracking_prices['count_exists'] = 'Record with such days exists';
|
|
|
|
break;
|
|
case "ats_tracking_cancel":
|
|
$ats_tracking_cancel['payment_is_canceled'] = 'You are cancel payment';
|
|
break;
|
|
case "ats_tracking_return":
|
|
$ats_tracking_return['payment_is_accept'] = 'Thanks for payment. Now you`ll be able to stay invisible when visiting other profiles.';
|
|
break;
|
|
case "admin_ats_tracking_settings":
|
|
$admin_ats_tracking_settings['description'] = 'This section allows you to change the paypal email address and choose the transaction currency (USD, EUR, GBP, YEN, CAD).';
|
|
break;
|
|
|
|
}
|
|
// ASSIGN ALL SMARTY VARIABLES
|
|
if(is_array(${$page})) {
|
|
$smarty->assign($page , ${$page});
|
|
}
|
|
?>
|