<?php
//Installer
define("CREATE_TABLE_DATABASE_ERROR_TEXT", "There was a problem inserting the database tables.");
define("CREATE_TABLE_DATABASE_SUCCESS_TEXT", "Successfully created the database tables.");
//General - Used in several places
define("NAME_TEXT", "Name");
define("ERRORS_FOUND_TEXT", "error(s) found");
define("EMAIL_TEXT", "E-Mail");
define("SAVE_SETTINGS_TEXT", "Save Settings");
define("KEY_GENERATION_FAILED_TEXT", "Failed to generate the secret key.");
define("ENCRYPTION_FAILED_TEXT", "Password encryption failed.");
define("DECRYPTION_FAILED_TEXT", "Password decryption failed.");
//Header
define("JAVASCRIPT_ERROR_TEXT", "<strong>V-CMS requires JavaScript to run</strong>. This site will not function correctly without Javascript enabled.");
define("HOME_MENU_TEXT", "HOME");
define("MY_ACCOUNT_MENU_TEXT", "MY ACCOUNT");
define("CONFIGURATION_MENU_TEXT", "CONFIGURATION");
define("LOGOUT_MENU_TEXT", "LOGOUT");
define("NEW_PASSWORD_GENERATED_TEXT", "New Password Generated");
define("NEW_PASSWORD_SUCCESSFUL_TEXT", "Your new password has been generated and sent to the email assocaited with your account.");
define("NEW_PASSWORD_FAILURE_TEXT", "New Password Failure");
define("NEW_PASSWORD_ERROR_TEXT", "There was an error sending you the email with the new password so your password has not been changed.");
define("REGISTERED_TEXT", "Registered!");
define("THANK_YOU_TEXT", "New account created:");
define("CONFIRMATION_SENT_OK_TEXT", "A confirmation email should be arriving shortly.");
define("NO_CONFIRMATION_SENT_TEXT", "your information has been added to the database!");
define("REGISTRATION_FAILED_TEXT", "Registration Failed");
define("REGISTRATION_FAILED_NOTICE_TEXT", "We're sorry, an error has occurred and your registration could not be completed.");
define("TEMP_DIR_ERROR", "Please check the permissions of the directory: /temp<br>It does not appear that I can write to this location.");
define("HELP_MENU_TEXT", "HELP");
//Configuration Page
define("CONFIGURATION_TEXT", "Configuration");
define("CONFIGURATION_PAGE_RIGHT_TEXT", "<p>For a better description of the values listed, hover your mouse over any item's name for a full description of that item.</p>");
//Welcome Page Text
define("SITES_PAGES_TEXT", "Sites & Pages");
define("CLICKY_NOTICE_TEXT", "Click on the title of the site to view the pages available to edit.");
define("EDIT_TEXT", "Edit");
define("IMAGE_MANAGER_LINK_TEXT", "Image Manager");
define("EDITORS_TEXT", "Editors");
define("CONFIGURE_TEXT", "Configure");
define("PREVIEW_TEXT", "View Live Page");
define("SETTINGS_TEXT", "Settings");
define("DELETE_TEXT", "Delete");
define("ADD_PAGE_TO_TEXT", "Add Page To");
define("ADD_NEW_SITE_TEXT", "Add New Site");
define("PAGE_SETTINGS_TEXT", "Page Settings");
define("PERMISSIONS_TEXT", "Permissions");
define("NO_PAGES_FOUND_TEXT", "No Pages Found");
define("NO_EDITORS_FOUND_TEXT", "No Editors Found");
define("ADD_NEW_EDITOR_TEXT", "Add New Editor");
define("WELCOME_TEXT", "Welcome!");
define("WELCOME_PAGE_RIGHT_EDITOR_TEXT", "<p>To being editing, simply click the \"Edit\" button next to the page you wish to edit!</p><br><br>");
define("WELCOME_PAGE_RIGHT_ADMIN_TEXT", "<p>To start using your new CMS, click the \"Add New Site\" button under \"Sites & Pages\". After setting up your new site and adding your first page you can then create a new Editor by clicking the \"Add New Editor\" button under \"Editors\"</p>
<p>Once you are all setup, you can add more pages to a site by clicking the \"Add page\" button under the site's list of pages.</p>
<p>To give view what editors have access to a page, click the \"Permissions\" button next to the page name you wish to view.</p>
<p>To view what pages editors have access to, click \"Edit\" button next to the name of the editor you wish to view under \"Editors\"</p>
<p>To remove an Editor, Page or Site, click the \"Delete\" button next to the name of the item you wish to remove. Note: Sites cannot be deleted until all pages for that site are first deleted.</p>");
//My Account
//define("EDIT_ACCOUNT_TEXT", "Edit Account");
//define("USER_ACCOUNT_EDIT_RIGHT_TEXT", "<p>This is for notes for this page.</p><ul><li>Placeholder</li></ul>");
//Page Settings Page
define("ALLOWED_EDITORS_TEXT", "Allowed Editors");
define("CUSTOM_CSS_TEXT", "Custom CSS URL");
define("PAGE_NAME_TEXT", "Page Name");
//User Edit Page
define("USER_ACCOUNT_EDIT_TEXT", "User Account Edit");
define("CURRENT_PASSWORD_TEXT", "Current Password");
define("NEW_PASSWORD_TEXT", "New Password");
define("MY_ACCOUNT_TEXT", "My Account");
define("USER_EDIT_PAGE_RIGHT_TEXT", "<p>Change your Name, Password or E-Mail address on file.</p><p>You only need to enter the Current Password when also entering a New Password.</p>");
//Login Page
define("LOGIN_TEXT", "Login");
define("USER_NAME_TEXT", "User Name");
define("PASSWORD_TEXT", "Password");
define("REMEMBER_NEXT_TIME_TEXT", "Remember me next time");
define("SIGN_UP_TEXT", "Sign Up!");
define("SEND_CONFIRMATION_LINK_TEXT", "Resend Confirmation E-Mail");
define("LOGIN_PAGE_RIGHT_TEXT", "<p>Welcome! To start, please login using the form to the left.</p><p>If you have forgotten your password, use the \"Forgot Password\" button below the login form.</p><p>If you did not recieve your confirmation email, please click the \"Resend Confirmation E-Mail\" button below the form.</p>");
define("FORGOT_PASSWORD_TEXT", "Forgot Password");
define("FORGOT_PASSWORD_BODY_TEXT", "A new password will be generated for you and sent to the email address associated with your account, all you have to do is enter your username.");
define("GET_NEW_PASSWORD_TEXT", "Get New Password");
//Configuration
$configuration_setting["SITE_NAME"] = "Site Name";
$configuration_setting["TAGLINE"] = "Tagline";
$configuration_setting["EMAIL_FROM_ADDR"] = "E-Mail From Address";
$configuration_setting["CUSTOM_CLASS_1"] = "Custom Class #1";
$configuration_setting["CUSTOM_CLASS_2"] = "Custom Class #2";
$configuration_setting["LOGO_IMAGE"] = "Logo Image";
$configuration_setting["BACKGROUND_CSS"] = "Background CSS";
$configuration_setting["HEADER_COLOR"] = "Header (H1, H2, etc) Color";
$configuration_setting["BUTTON_BACKGROUND"] = "Button Background Color";
$configuration_setting["BUTTON_COLOR"] = "Button Font Color";
$configuration_setting["BUTTON_HOVER_BACKGROUND"] = "Button Background Color (Hover)";
$configuration_setting["BUTTON_HOVER_COLOR"] = "Button Font Color (Hover)";
$configuration_setting["BUTTON_ACTIVE_BACKGROUND"] = "Button Background Color (Active)";
$configuration_setting["BUTTON_ACTIVE_COLOR"] = "Button Font Color (Active)";
$configuration_setting["CUSTOM_HELP_LINK"] = "URL to Help";
$configuration_setting["CUSTOM_CSS"] = "Custom CSS";
$configuration_help["SITE_NAME"] = "The name of your site, displayed in the header.";
$configuration_help["TAGLINE"] = "Tagline for your site, displayed below the " . $configuration_setting["SITE_NAME"] . ".";
$configuration_help["EMAIL_FROM_ADDR"] = "The e-mail address system e-mails will be From.";
$configuration_help["CUSTOM_CLASS_1"] = "Custom class for editable areas, this will be used in addition to clienteditor, cushycms, and editable.";
$configuration_help["CUSTOM_CLASS_2"] = "Custom class for editable areas, this will be used in addition to clienteditor, cushycms, editable and " . $configuration_setting["CUSTOM_CLASS_1"] . ".";
$configuration_help["LOGO_IMAGE"] = "The URL to your logo, will be displayed at a height of 75px. Example: <b>http://www.domain.com/logo.jpg</b>";
$configuration_help["BACKGROUND_CSS"] = "The CSS used to render the background image for the CMS. Leave blank for the default of: <b>#F5F5F5 url(images/img01.jpg) repeat-x left top#F5F5F5 url(images/img01.jpg) repeat-x left top</b>";
$configuration_help["HEADER_COLOR"] = "The CSS color used for the headings. Leave blank for the default of: <b>#AA2808</b>";
$configuration_help["BUTTON_BACKGROUND"] = "The CSS color used for the background color of the buttons. Leave blank for the default of: <b>#2ae</b>";
$configuration_help["BUTTON_COLOR"] = "The CSS color used for the font of the buttons. Leave blank for the default of: <b>#fff</b>";
$configuration_help["BUTTON_HOVER_BACKGROUND"] = "The CSS color used for the background of the buttons when the mouse is hovered over them. Leave blank for the default of: <b>#a00</b>";
$configuration_help["BUTTON_HOVER_COLOR"] = "The CSS color used for the font of the buttons when the mouse is hovered over them. Leave blank for the default of <b>#fff</b>";
$configuration_help["BUTTON_ACTIVE_BACKGROUND"] = "The CSS color used for the background of the buttons when the button is active. Leave blank for the default of <b>#444</b>";
$configuration_help["BUTTON_ACTIVE_COLOR"] = "The CSS color used for the font of the buttons when the buttons are active. Leave blank for the default of <b>#fff</b>";
$configuration_help["CUSTOM_HELP_LINK"] = "If you wish to create a walk-through for your users, enter the URL to the movie/PDF/webpage here. Example: <b>http://domain.com/cmshelp</b>";
$configuration_help["CUSTOM_CSS"] = "The location of your custom V-CMS CSS. Leave blank to use the default of <b>css/style.css</b>.";
//Mail Settings
define("EMAIL_WELCOME_SUBJECT_TEXT", SITE_NAME . " - Welcome!");
define("EMAIL_WELCOME_BODY_1", "Welcome! You've just been registered at " . SITE_NAME . " with the following information:");
define("EMAIL_WELCOME_BODY_2", "Before you can login you need to activate your account by clicking on this link:");
define("EMAIL_WELCOME_BODY_3", "If you ever lose or forget your password, a new password will be generated for you and sent to this email address, if you would like to change your email address you can do so by going to the My Account page after signing in.");
define("EMAIL_CONFIRMATION_SUBJECT_TEXT", SITE_NAME . " - Welcome!");
define("EMAIL_CONFIRMATION_BODY_1", "We're sorry for the inconvenience. We are making our website more secure for both your and our benefit.\n\nTo activate your account you can either click on the fllowing link or copy the link and paste it into your address bar.");
define("EMAIL_CONFIRMATION_BODY_2", "We here at " . SITE_NAME . " hope you continue to enjoy our wonderful service.");
define("EMAIL_NEW_PASSWORD_SUBJECT_TEXT", SITE_NAME . " - Your New Password!");
define("EMAIL_NEW_PASSWORD_BODY_1", "We've generated a new password for you at your request, you can use this new password with your username to log in to " . SITE_NAME);
define("EMAIL_NEW_PASSWORD_BODY_2", "It is recommended that you change your password to something that is easier to remember, which can be done by going to the My Account page after signing in.");
//Delete Page
define("DELETE_ARE_YOU_SURE_TEXT", "Are you sure you wish to remove the");
define("YES_TEXT", "Yes");
define("NO_TEXT", "No");
//Addfile Page
define("SAVED_TEXT", "Saved");
define("FTP_ERROR_CONNECT_TEXT", "Unable to connect to FTP server, please check the host name!");
define("FTP_ERROR_BAD_LOGIN_TEXT", "Unable to login to FTP server, please check the user name and password!");
//Adddomain Page
define("CONNECTION_OK_TEXT", "Connection OK!");
define("SITE_URL_TEXT", "Site URL");
define("FTP_SERVER_TEXT", "FTP Server");
define("PATH_TEXT", "Path");
define("CHOOSE_TEXT", "Choose");
define("ADD_DOMAIN_PAGE_RIGHT_TEXT", "<p>Site URL Example:<br><i>http://mysite.com/<i></p><p>Custom CSS URL Example:<br><i>http://mysite.com/style.css</i></p><p>FTP Server Example:<br><i>ftp.mysite.com</i></p><p>User Name and Password fields are for the FTP login information.</p><p>Path: Select the document root for this site, click the Choose button to select</p>");
//Editor Page
define("FTP_ERROR_GET_PAGE_ERROR_TEXT", "There was a problem accessing the requested page on the server.");
define("FTP_ERROR_CHANGE_DIR_ERROR_TEXT", "Unable to change directories on the server.");
define("RESIZING_PHOTO_TEXT", "Resizing photo");
define("OK_TEXT", "OK");
define("ERROR_RESIZE_IMAGE_TEXT", "Unable to resize image");
define("EDIT_CONTENT_TEXT", "Edit Content");
define("PAGE_TITLE_TEXT", "Page Title");
define("PAGE_DESCRIPTION_TEXT", "Page Description");
define("IMAGE_RESIZE_NOTICE_TEXT", "Image will be resized");
define("WIDTH_TEXT", "Width");
define("HEIGHT_TEXT", "Height");
define("IMAGE_TEXT", "Image");
define("IMAGE_BLANK_NOTICE_TEXT", "(Leave blank to use the current image)");
define("NO_EDITABLE_FOUND_TEXT", "No editable regions were found.");
define("SUBMIT_TEXT", "Submit");
define("RESTORE_REVISION_TEXT", "Restore Revision");
define("REVISIONS_TEXT", "Revisions");
define("REVISIONS_HOWTO_TEXT", "Click on a revision to view/save as the current page.");
//Process file
define("USERNAME_EMPTY_ERROR_TEXT", "User name not entered");
define("USERNAME_NOT_EXIST_ERROR_TEXT", "User name does not exist");
define("PASSWORD_ERROR_TEXT", "Invalid password");
define("USERNAME_CONFIRMED_ERROR_TEXT", "User name already confirmed");
define("CONFIRMATION_SENT_TEXT", "Your confirmation email has been sent! Back to <a href='index.php'>Home</a>");
//Register Page (New editor)
define("NEW_ACCOUNT_TEXT", "New Account");
define("CLOSE_TEXT", "Close");
define("BACK_TO_HOME_TEXT", "Back to home");
define("NEW_ACCOUNT_PAGE_RIGHT_TEXT", "<p>Fill out the form and a confirmation e-mail will be sent to the specified e-mail address. After the e-mail address is verified this account will become active.</p>");
//User permissions page
define("PERMISSIONS_FOR_TEXT", "Permissions for");
define("REMOVE_EXISTING_PERMISSION_TEXT", "Remove Existing Permission");
define("ADD_NEW_PERMISSION_TEXT", "Add New Permission");
define("USER_PERMISSIONS_PAGE_RIGHT_TEXT", "<p>To remove this editor's ability to edit a page, click on the name of the page you wish to remove under \"Remove Existing Permission\"</p><p>To give this editor the ability to edit a page, click on the name of the page you with to add under \"Add New Permission\"</p>");
define("USER_PERMISSIONS_TEXT", "User Permissions");
define("PROBLEM_ADDING_PERMISSION", "There was a problem adding the permission.");
define("PROBLEM_REMOVING_PERMISSION", "There was a problem removing the permission.");
//Valid.php
define("SEND_CONFIRMATION_EMAIL_TEXT", "Send Confirmation E-Mail");
define("SEND_TEXT", "Send!");
define("CONFIRMATION_FAIL_TEXT", "Confirmation failed, username and UIN do not match.");
define("ACCOUNT_VERIFIED_TEXT", "Account Verified!");
define("ACCOUNT_VERIFIED_THANKS_TEXT" , "Thank you for taking the time to verify your e-mail address. If you need to change your e-mail address on file, after logging in click \"My Account\" from the top menu.");
define("ACCOUNT_VERIFIED_SUCCESSFUL_TEXT", "'s account has been successfully verified.<br><br>You can now <a href='index.php'>login</a>.");
// includes/choose_path.php
define("DATABASE_SELECT_ERROR_TEXT", "Could not select database!");
// includes/resize.image.class.php
define("IMAGE_NOT_EXIST_ERROR_TEXT", "File does not exist.");
define("IMAGE_NOT_IMAGE_ERROR_TEXT", "File doesn't seem to be an image.");
define("IMAGE_WIDTH_HIGHT_ERROR_TEXT", "Neither the new height or new width has been set.");
// includes/session.php
define("USERNAME_NOT_ALPHANUMERIC_ERROR_TEXT", "User name is not alphanumeric.");
define("PASSWORD_NOT_ALPHANUMERIC_ERROR_TEXT", "Password is not alphanumberic.");
define("USERNAME_NOT_CONFIRMED_ERROR_TEXT", "User's account had not yet been confirmed.");
define("USER_BELOW_5_ERROR_TEXT", "User name is below 5 characters.");
define("USER_ABOVE_30_ERROR_TEXT", "User name is over 30 characters.");
define("USER_RESERVED_ERROR_TEXT", "User name is reserved.");
define("USER_IN_USE_ERROR_TEXT", "User name is already in use.");
define("USER_BANNED_ERROR_TEXT", "User name is banned.");
define("PASSWORD_TOO_SHORT_ERROR_TEXT", "Password is too short.");
define("EMAIL_INVALID_ERROR_TEXT", "Invalid E-Mail address.");
define("EMAIL_ALREADY_USED_ERROR_TEXT", "E-Mail address is already in use.");
define("NAME_EMPTY_ERROR_TEXT", "Name not entered.");
define("CURRENT_PASSWORD_ERROR_TEXT", "Current Password is incorrect.");
define("NEW_PASSWORD_TOO_SHORT_ERROR_TEXT", "New Password is too short.");
//image_manager.php
define("IMAGE_MANAGER_TEXT", "Image Manager");
define("NO_IMAGES_FOUND_TEXT", "Sorry, no images were found. To start adding photos, please use the form below!");
define("IMAGE_UPLOAD_INVALID_TYPE_TEXT", "Please upload a valid image type.");
define("PIXELS_TEXT", "pixels");
define("UPLOAD_NEW_IMAGE_TEXT", "Upload New Image");
define("IMAGE_MANAGER_RIGHT_TEXT", "<p>This image manager will allow you to add and remove image files that are available to add via the insert image icon found in the WYSIWYG editor.<br><br>If you wish to rezise your images, enter the preferred height and width of the final image. The aspect ratio of the image will be maintained.<br><br>After adding photos here, you will find these same image files in the editor. Simply click the insert image icon and these images will be under the \"Image list\" pulldown menu.</p>");
define("ARE_YOU_SURE_DELETE_TEXT", "Are you sure you want to delete");
//add_file.php
define("ADD_FILE_TEXT", "Add File");
define("CLICK_TEXT", "Click");
//editdomain.php
define("DOMAIN_CHECK_FAILED", "Domain permission check failed!");
define("EDIT_DOMAIN_TEXT", "Edit Domain");
define("SITE_NAME_TEXT", "Site Name");
define("EDIT_DOMAIN_PAGE_RIGHT_TEXT", "<p>Site URL Example:<br><i>http://mysite.com/<i></p><p>Custom CSS URL Example:<br><i>http://mysite.com/style.css</i></p><p>FTP Server Example:<br><i>ftp.mysite.com</i></p><p>User Name and Password fields are for the FTP login information.</p><p>Path: Select the document root for this site, click the Choose button to select</p>");
?>