Hereby, I solemnly declare "Administration area" the official designation for our backend. #39 shall be deemed to be settled :D

This commit is contained in:
azett 2020-01-03 19:23:30 +01:00
parent 0cceecaa02
commit e4f542d5cd
6 changed files with 249 additions and 275 deletions

View File

@ -1,9 +1,8 @@
<?php <?php
$lang ['admin'] ['panel'] ['main'] = 'Main'; $lang ['admin'] ['panel'] ['main'] = 'Main';
$lang ['admin'] ['main'] ['default'] = array( $lang ['admin'] ['main'] ['default'] = array(
'head' => 'Welcome to the control panel!', 'head' => 'Welcome to the administration area!',
'descr' => 'Select an action', 'descr' => 'Select an action',
'op1' => 'New Entry', 'op1' => 'New Entry',
@ -17,7 +16,5 @@
'op5' => 'Configuration', 'op5' => 'Configuration',
'op5d' => 'Customize your flatpress', 'op5d' => 'Customize your flatpress',
'op6' => 'Maintenance', 'op6' => 'Maintenance',
'op6d' => 'Clean and restore flatpress', 'op6d' => 'Clean and restore flatpress'
); );
?>

View File

@ -1,5 +1,4 @@
<?php <?php
$lang ['admin'] ['head'] = 'Administration area'; $lang ['admin'] ['head'] = 'Administration area';
$lang ['admin'] ['panels'] = array( $lang ['admin'] ['panels'] = array(
@ -14,15 +13,14 @@
// 'edit' => 'Edit/Delete', // 'edit' => 'Edit/Delete',
'maintain' => 'Maintain', 'maintain' => 'Maintain',
'plugin' => 'Plugins', 'plugin' => 'Plugins',
'themes' => 'Themes', 'themes' => 'Themes'
// 'updates' => 'Updates', // 'updates' => 'Updates',
); );
$lang ['admin'] ['general'] = array( $lang ['admin'] ['general'] = array(
'id' => 'Id', # for entry ids 'id' => 'Id', // for entry ids
'name' => 'Name', # for file names 'name' => 'Name', // for file names
'title' => 'Title', # for entry/posts/static titles 'title' => 'Title', // for entry/posts/static titles
'comments' => '#Comms', 'comments' => '#Comms',
'author' => 'Author', 'author' => 'Author',
'actdel' => 'Delete', 'actdel' => 'Delete',

View File

@ -1,5 +1,4 @@
<?php <?php
$lang = array(); $lang = array();
$lang ['main'] = array( $lang ['main'] = array(
@ -22,8 +21,7 @@
'nocomments' => 'Add a comment', 'nocomments' => 'Add a comment',
'comment' => '1 comment', 'comment' => '1 comment',
'comments' => 'comments', 'comments' => 'comments'
); );
$lang ['search'] = array( $lang ['search'] = array(
@ -35,8 +33,7 @@
'fulltext' => 'Full-text', 'fulltext' => 'Full-text',
'fset2' => 'Date', 'fset2' => 'Date',
'datedescr' => 'You can bind your search to a specific date. You may select an year, an year and a month, or a full date. '. 'datedescr' => 'You can bind your search to a specific date. You may select an year, an year and a month, or a full date. ' . 'Leave blank to search the entire database.',
'Leave blank to search the entire database.',
'fset3' => 'Search in categories', 'fset3' => 'Search in categories',
'catdescr' => 'Don\'t select any to search all', 'catdescr' => 'Don\'t select any to search all',
@ -50,21 +47,14 @@
'moreopts' => 'More options', 'moreopts' => 'More options',
'searchag' => 'Search again'
'searchag' => 'Search again',
); );
$lang ['search'] ['error'] = array( $lang ['search'] ['error'] = array(
'keywords' => 'You must specify at least one keyword' 'keywords' => 'You must specify at least one keyword'
); );
$lang ['entry'] = array(); $lang ['entry'] = array();
$lang ['entry'] ['flags'] = array(); $lang ['entry'] ['flags'] = array();
@ -102,7 +92,7 @@
'logout' => 'You are now logged out.', 'logout' => 'You are now logged out.',
'redirect' => 'You will be redirected in 5 seconds.', 'redirect' => 'You will be redirected in 5 seconds.',
'opt1' => 'Back to index', 'opt1' => 'Back to index',
'opt2' => 'Go to Control Panel', 'opt2' => 'Go to Admin Area',
'opt3' => 'Add new entry' 'opt3' => 'Add new entry'
); );
@ -112,7 +102,6 @@
'match' => 'Password incorrect.' 'match' => 'Password incorrect.'
); );
$lang ['comments'] = array( $lang ['comments'] = array(
'head' => 'Add comment', 'head' => 'Add comment',
'descr' => 'Fill out the form below to add your own comments', 'descr' => 'Fill out the form below to add your own comments',
@ -128,14 +117,14 @@
'reset' => 'Reset', 'reset' => 'Reset',
'success' => 'Your comment was added successfully', 'success' => 'Your comment was added successfully',
'nocomments' => 'This entry have not been commented yet', 'nocomments' => 'This entry have not been commented yet',
'commslock' => 'Comments have been disabled for this entry', 'commslock' => 'Comments have been disabled for this entry'
); );
$lang ['comments'] ['error'] = array( $lang ['comments'] ['error'] = array(
'name' => 'You must enter a name', 'name' => 'You must enter a name',
'email' => 'You must enter a valid email', 'email' => 'You must enter a valid email',
'www' => 'You must enter a valid URL', 'www' => 'You must enter a valid URL',
'comment' => 'You must enter a comment', 'comment' => 'You must enter a comment'
); );
$lang ['date'] ['month'] = array( $lang ['date'] ['month'] = array(
@ -152,7 +141,6 @@
'October', 'October',
'November', 'November',
'December' 'December'
); );
$lang ['date'] ['month_abbr'] = array( $lang ['date'] ['month_abbr'] = array(
@ -169,7 +157,6 @@
'Oct', 'Oct',
'Nov', 'Nov',
'Dec' 'Dec'
); );
$lang ['date'] ['weekday'] = array( $lang ['date'] ['weekday'] = array(
@ -180,8 +167,7 @@
'Wednesday', 'Wednesday',
'Thursday', 'Thursday',
'Friday', 'Friday',
'Saturday', 'Saturday'
); );
$lang ['date'] ['weekday_abbr'] = array( $lang ['date'] ['weekday_abbr'] = array(
@ -192,10 +178,7 @@
'Wed', 'Wed',
'Thu', 'Thu',
'Fri', 'Fri',
'Sat', 'Sat'
); );
?> ?>

View File

@ -1,14 +1,10 @@
<?php <?php
$lang ['plugin'] ['adminarea'] = array( $lang ['plugin'] ['adminarea'] = array(
'subject' => 'Admin area', 'subject' => 'Admin',
'welcome' => 'Welcome home, ', 'welcome' => 'Welcome home, ',
'admin_panel' => 'Admin panel', 'admin_panel' => 'Admin area',
'add_entry' => 'Add entry', 'add_entry' => 'Add entry',
'add_static' => 'Add static', 'add_static' => 'Add static',
'logout' => 'Logout' 'logout' => 'Logout'
); );
?>

View File

@ -1,13 +1,13 @@
<?php <?php
/*
Plugin Name: AdminArea
Plugin URI: http://www.nowhereland.it/
Description: AdminArea plugin. Part of the standard distribution ;)
Author: NoWhereMan
Version: 1.0
Author URI: http://www.nowhereland.it/
*/
/*
* Plugin Name: AdminArea
* Plugin URI: http://www.nowhereland.it/
* Description: AdminArea plugin. Part of the standard distribution ;)
* Author: NoWhereMan
* Version: 1.0
* Author URI: http://www.nowhereland.it/
*/
function plugin_adminarea_widget() { function plugin_adminarea_widget() {
// load plugin strings // load plugin strings

View File

@ -153,7 +153,7 @@ Want to see more?
[h4]And what now?[/h4] [h4]And what now?[/h4]
Now you can [url=login.php]Login[/url] to get to the [url=admin.php]Control Panel[/url] and start posting! Now you can [url=login.php]Login[/url] to get to the [url=admin.php]Administration Area[/url] and start posting!
Have fun! :) Have fun! :)