Skip to content

Instantly share code, notes, and snippets.

@beinoriusju
Last active April 10, 2018 11:59
Show Gist options
  • Save beinoriusju/97fb491dd9eab0d19eba88bbc30b2538 to your computer and use it in GitHub Desktop.
Save beinoriusju/97fb491dd9eab0d19eba88bbc30b2538 to your computer and use it in GitHub Desktop.
<?php
// Heading
$_['heading_title'] = 'Age Restriction Module';
// Text
$_['text_extension'] = 'Extensions';
$_['text_success'] = 'Success: You have modified banner module!';
$_['text_edit'] = 'Edit Age Restriction Module';
// Entry
$_['entry_name'] = 'Module ID';
$_['entry_message'] = 'Message';
$_['entry_age'] = 'Age';
$_['entry_redirect_url'] = 'URL';
$_['entry_status'] = 'Status';;
// Placeholder
$_['placeholder_name'] = '';
$_['placeholder_message'] = 'You must be %s. Are you?';
$_['placeholder_age'] = '21';
$_['placeholder_redirect_url'] = 'http://www.example.com';
// Help
$_['help_message'] = 'You might use %s expression. It will be replaced with age value.';
// Error
$_['error_name'] = 'Module ID blank';
$_['error_message'] = 'Message field blank';
$_['error_age'] = 'Age must be numeric';
$_['error_redirect_url'] = 'URL can not be empty';
$_['error_warning'] = 'There are problems with data provided';
$_['error_permission'] = 'You don\'t have permission to edit this.';
// Button
$_['button_save'] = 'Save form';
$_['button_cancel'] = 'Cancel';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment