Skip to content

Commit

Permalink
fix: change captcha to false and add disclaimer (#334)
Browse files Browse the repository at this point in the history
* fix: change captcha to false and add disclaimer

* rollback config and remove files unnecessary

* rollback files and fix database
  • Loading branch information
AraanBranco authored Oct 20, 2022
1 parent 5e4daa7 commit dc8ebf2
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 127 deletions.
14 changes: 7 additions & 7 deletions config/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
'ShowRenderDetails' => true, // Shows the "page rendered in X seconds" and "number of queries executed: X" in the default theme.
'UseCleanUrls' => false, // Set to true if you're running Apache and it supports mod_rewrite and .htaccess files.
'DebugMode' => false, // Set to false to minimize technical details from being output by Flux. WARNING: DO NOT USE THIS OPTION ON A PUBLICALLY-ACCESSIBLE CP.
'UseCaptcha' => true, // Use CAPTCHA image for account registration to prevent automated account creations. (Requires GD2/FreeType2)
'UseCaptcha' => false, // Use CAPTCHA image for account registration to prevent automated account creations. (Requires GD2/FreeType2)
'UseLoginCaptcha' => false, // Use CAPTCHA image for account logins. (Requires GD2/FreeType2)
'EnableReCaptcha' => false, // Enables the use of reCAPTCHA instead of Flux's native GD2 library (http://www.google.com/recaptcha)
'ReCaptchaPublicKey' => '...', // This is your reCAPTCHA public key [REQUIRED FOR RECAPTCHA] (sign up at http://www.google.com/recaptcha)
Expand Down Expand Up @@ -172,7 +172,7 @@
'BlacksmithRankingLimit' => 20, //
'HomunRankingLimit' => 20, //
'MVPRankingLimit' => 20, //

'RankingHideGroupLevel' => AccountLevel::LOWGM, //
'InfoHideZenyGroupLevel' => AccountLevel::LOWGM, // Minimum group level of account to hide zeny from in server information page.

Expand Down Expand Up @@ -213,8 +213,8 @@

'AdminMenuNewStyle' => true, // Use new-style admin menu; Applies to 'default' theme.
'EnablePeakDisplay' => true, // Display Peak User count on Server Status page.


// News Options
'CMSNewsOnHomepage' => true, // Display News on Home Page instead of "You've Just Installed FluxCP" message?
'CMSNewsType' => 1, // Type = source of news feed:
Expand All @@ -240,7 +240,7 @@
'DiscordSendOnNewTicket' => true, // Sends a channel message when someone submits a new ticket to the Service Desk
'DiscordSendOnWebCommand' => true, // Sends a channel message when someone uses the Web Command feature in FluxCP
'DiscordSendOnMarketing' => true, // Sends a channel message when someone uses the Send Email feature in FluxCP

'TinyMCEKey' => 'no-key', // Register for a key at https://www.tiny.cloud/my-account/dashboard/

// These are the main menu items that should be displayed by themes.
Expand Down Expand Up @@ -309,7 +309,7 @@
//'Economy' => array('module' => 'economy')
)
),

// Sub-menu items that are displayed for any action belonging to a
// particular module. The format it simple.
'SubMenuItems' => array(
Expand Down Expand Up @@ -418,7 +418,7 @@
'index' => 'Buyers',
),
),

'AllowMD5PasswordSearch' => false,
'ReallyAllowMD5PasswordSearch' => false, // Are you POSITIVELY sure?
Expand Down
77 changes: 39 additions & 38 deletions lang/en_us.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
return array(
return array(
// Generic/Misc.
'Language' => 'English',
'YesLabel' => 'Yes',
Expand Down Expand Up @@ -56,7 +56,7 @@
'ItemCard2Label' => 'Slot 3',
'ItemCard3Label' => 'Slot 4',
'ItemRandOptionsLabel' => 'Random options',

//SIDEBAR
//FluxCP Menu Items
//Categories
Expand Down Expand Up @@ -102,7 +102,7 @@
'MobDatabaseLabel' => 'Mob Database',
'JoinUsInFacebookLabel' => 'Join us on Facebook!',
'RateUsOnRMSLabel' => 'Rate us on RMS!',

// Module: account
// - account/changemail
'EmailChangeTitle' => 'Change E-mail',
Expand Down Expand Up @@ -181,12 +181,13 @@
'AccountPasswordLabel' => 'Your Password',
'AccountPassConfirmLabel' => 'Confirm Password',
'AccountEmailLabel' => 'E-mail Address',
'AccountEmailLabel2' => 'Confirm E-mail Address',
'AccountEmailLabel2' => 'Confirm E-mail Address',
'AccountGenderLabel' => 'Gender',
'AccountBirthdateLabel' => 'Birthdate',
'AccountSecurityLabel' => 'Security Code',
'AccountCreateButton' => 'Create My Account',
'AccountInvalidChars' => "A username can only contain these characters: '%s'",
'AccountRecaptchaKey' => 'You need Recaptcha keys, see more in config/applications.php (ReCaptchaPublicKey/ReCaptchaPrivateKey)',
'InvalidLoginServer' => 'Invalid login server selected, please try again with a valid server.',
'InvalidLoginCredentials' => 'Invalid login credentials, please verify that you typed the correct info and try again.',
'UnexpectedLoginError' => 'Unexpected error occurred, please try again or report to an admin.',
Expand Down Expand Up @@ -366,7 +367,7 @@
'XferLogCharNameLabel' => 'To Character',
'XferLogNotReceived' => 'You have not received any credit transfers.',
'XferLogNotSent' => 'You have not sent any credit transfers.',

// Module: character
// - character/changeslot
// - character/index
Expand Down Expand Up @@ -396,20 +397,20 @@
'DivorceText3' => 'Wedding rings will also be deleted.',
'DivorceButton' => 'Yes, do it please.',
'DivorceSuccessful' => '%s has been divorced!',

// Module: cplog
// - cplog/index.php
// - cplog/login.php
// - cplog/paypal.php
// - cplog/resetpass.php
// - cplog/txnview.php

// Module: donate
// - donate/complete
// - donate/history
// - donate/index
// - donate/trusted

// Module: errors
// - errors/missing_action
'MissingActionTitle' => 'Missing Action',
Expand All @@ -425,12 +426,12 @@
'MissingViewActLabel' => 'Action:',
'MissingViewReqLabel' => 'Request URI:',
'MissingViewLocLabel' => 'File system location:',

// Module: guild
// - guild/export
// - guild/index
// - guild/view

// Module: history
// - history/cplogin
'HistoryCpLoginTitle' => 'Control Panel Logins',
Expand Down Expand Up @@ -474,7 +475,7 @@
'HistoryPassResetResetDate' => 'Reset Date',
'HistoryPassResetResetIp' => 'Reset IP',
'HistoryNoPassResets' => 'No password reset attempts found.',

// Module: ipban
// - ipban/add
'IpbanAddTitle' => 'Add IP Ban',
Expand Down Expand Up @@ -525,20 +526,20 @@
'IpbanEnterUnbanReason' => 'Please enter a reason for lifting the IP ban(s).',
'IpbanUnbanned' => 'Lifted selected IP ban(s)!',
'IpbanUnbanFailed' => 'Failed to lift %d of the specified IP unban(s)!',

// Module: item
// - item/add
// - item/copy
// - item/edit
// - item/index
// - item/view

// Module: itemshop
// - itemshop/add
// - itemshop/delete
// - itemshop/edit
// - itemshop/imagedel

// Module: logdata
// - logdata/chat
// - logdata/cashpoints
Expand Down Expand Up @@ -637,7 +638,7 @@
'ZenyLogMapLabel' => 'Map',
// - logdata/feeding
'FeedingLogTitle' => 'Feeding Log',

// Module: mail
// - mail/index
'MailerTitle' => 'Form Mailer',
Expand All @@ -653,7 +654,7 @@
'MailerSubjectLabel' => 'Subject',
'MailerBodyLabel' => 'Body',
'MailerSelectTemplateLabel' => 'Select Template',

// Module: main
// - main/index
'MainPageHeading' => 'Flux Control Panel',
Expand All @@ -669,11 +670,11 @@
'PageNotFoundInfo' => 'The page you have requested was not found on our server. Please check the address and make sure it is correct, and try again.',
// - main/preprocess
'DisallowedDuringWoE' => 'The page you have requested is not accessible during WoE.',

// Module: monster
// - monster/index
// - monster/view

// Module: purchase
// - purchase/add
// - purchase/cart
Expand All @@ -682,12 +683,12 @@
// - purchase/index
// - purchase/pending
// - purchase/remove

// Module: ranking
// - ranking/character
// - ranking/guild
// - ranking/zeny

// Module: server
// - server/info
'ServerInfoTitle' => 'Server Information',
Expand All @@ -710,20 +711,20 @@
'ServerStatusMapLabel' => 'Map Server',
'ServerStatusOnlineLabel' => 'Players Online',
'ServerStatusPeakLabel' => 'Player Peak',

// Module: service
// - service/tos
'TermsTitle' => 'Terms of Service',
'TermsHeading' => 'Terms of Service',
'TermsInfo' => 'Please read before creating an account!',
'TermsInfo2' => "FOR CONTROL PANEL ADMINISTRATOR: You may add your server's ToS in this view file directly. The location of the view file is: %s",

// Module: unauthorized
// - unauthorized/index
'UnauthorizedTitle' => 'Unauthorized',
'UnauthorizedHeading' => 'Unauthorized',
'UnauthorizedInfo' => 'You are unauthorized to view this page. <a href="%s">Redirecting…</a>',

// Module: woe
// - woe/index
'WoeTitle' => 'WoE Hours',
Expand All @@ -733,10 +734,10 @@
'WoeServerLabel' => 'Servers',
'WoeTimesLabel' => 'War of Emperium Times',
'WoeNotScheduledInfo' => 'There are no scheduled WoE hours.',

// Module: contactform
'CFTitleSubmit' => 'Contact Us',

// Module: News and Pages
'CMSNewsHeader' => 'Announcements',
'CMSPageHeader' => 'Content Management System',
Expand All @@ -749,7 +750,7 @@
'CMSNewsAdded' => 'News added to system',
'CMSPagesAdded' => 'Your new page has been added',
'CMSNewsUpdated' => 'News updated',
'CMSPageUpdated' => 'Your page has been updated',
'CMSPageUpdated' => 'Your page has been updated',
'CMSNewsAddTitle' => 'Add a news item',
'CMSPageAddTitle' => 'Add a new page',
'CMSNewsEditTitle' => 'Edit news',
Expand Down Expand Up @@ -779,17 +780,17 @@
'CMSOptionalLabel' => '(Optional)',
'CMSRequiredLabel' => '(Required)',
'CMSCreateLabel' => 'Add News',

// Module: vending
'TLHeaderTasks' => 'Tasks',
'TLHeaderOwner' => 'Owner',
'TLHeaderPriority' => 'Priority',
'TLHeaderStatus' => 'Status',
'TLHeaderOwner' => 'Owner',
'TLHeaderPriority' => 'Priority',
'TLHeaderStatus' => 'Status',
'TLHeaderCreated' => 'Created',
'TLHeaderModified' => 'Modified',
'TLHeaderResources' => 'Additional Resources',
'TLHeaderBody' => 'Body',

// Module: servicedesk
'SDHeader' => 'Service Desk',
'SDCreateNew' => 'Create a new ticket',
Expand All @@ -801,18 +802,18 @@
'SDNoInactiveTickets' => 'You have no in-active tickets at the moment.',
'SDNoClosedTickets' => 'There are no Closed tickets in the database.',
'SDNoCats' => 'There are no categories within the database.',
'SDHuh' => 'You should not be here o.O',
'SDHuh' => 'You should not be here o.O',
'SDPointerChatLog' => 'We recommend pasting to <a href="http://pastebin.com" target="_blank">pastebin.com</a> then putting the link in here.',
'SDPointerScreenShot' => 'Provide image links as evidence',
'SDPointerVideoLink' => 'We recommend uploading to youtube then putting the link in here.',
'SDHeaderID' => 'Ticket #',
'SDHeaderSubject' => 'Subject',
'SDHeaderID' => 'Ticket #',
'SDHeaderSubject' => 'Subject',
'SDHeaderCategory' => 'Category',
'SDHeaderStatus' => 'Current Status',
'SDHeaderStatus' => 'Current Status',
'SDHeaderLastAuthor' => 'Last Author',
'SDHeaderTimestamp' => 'Created',
'SDHeaderAccount' => 'Account',
'SDHeaderTeam' => 'Team',
'SDHeaderTimestamp' => 'Created',
'SDHeaderAccount' => 'Account',
'SDHeaderTeam' => 'Team',
'SDH3ActiveTickets' => 'Active Tickets',
'SDH3InActiveTickets' => 'In-Active Tickets',
'SDH3ClosedTickets' => 'Closed Tickets',
Expand Down
Loading

0 comments on commit dc8ebf2

Please sign in to comment.