Merge branch 'master' into responsiveadmin
This commit is contained in:
commit
263f2b16df
@ -1,5 +1,4 @@
|
|||||||
# In beta testing: FlatPress 1.2 "Legato"
|
# 2021-03-20: [FlatPress 1.2 "Legato"](https://github.com/flatpressblog/flatpress/releases/tag/1.2)
|
||||||
[Release info and download](https://github.com/flatpressblog/flatpress/releases/tag/1.2.beta1)
|
|
||||||
## General
|
## General
|
||||||
- FlatPress now runs smoothly with PHP 7.4 and PHP 8
|
- FlatPress now runs smoothly with PHP 7.4 and PHP 8
|
||||||
- Performance: Lazy loading for images
|
- Performance: Lazy loading for images
|
||||||
@ -31,6 +30,7 @@
|
|||||||
- Fixed "syntax error, unexpected '\['" bug, reported [here](https://forum.flatpress.org/viewtopic.php?f=2&t=131)
|
- Fixed "syntax error, unexpected '\['" bug, reported [here](https://forum.flatpress.org/viewtopic.php?f=2&t=131)
|
||||||
- Setup sets date and FP version for the freshly created static pages
|
- Setup sets date and FP version for the freshly created static pages
|
||||||
- Annoying translation error in German language pack fixed
|
- Annoying translation error in German language pack fixed
|
||||||
|
- ... and many more!
|
||||||
## Translations
|
## Translations
|
||||||
- Added French language pack by Marc Thibeault and Dimitri Soufflet, reworked by Gee
|
- Added French language pack by Marc Thibeault and Dimitri Soufflet, reworked by Gee
|
||||||
- Added Japanese Language Pack by [NORTH HILL WORK STUDIO](https://nhws.localinfo.jp/)
|
- Added Japanese Language Pack by [NORTH HILL WORK STUDIO](https://nhws.localinfo.jp/)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<a href="https://github.com/flatpressblog/flatpress/releases" title="See releases"><img alt="See releases" src="https://img.shields.io/github/release/flatpressblog/flatpress.svg?label=Latest%20release&style=plastic"></a> <a href="./LICENSE.md" title="License"><img alt="License" src="https://img.shields.io/github/license/flatpressblog/flatpress.svg?style=plastic"></a><br>
|
<a href="https://github.com/flatpressblog/flatpress/releases" title="See releases"><img alt="See releases" src="https://img.shields.io/github/release/flatpressblog/flatpress.svg?label=Latest%20release&style=plastic"></a> <a href="./LICENSE.md" title="License"><img alt="License" src="https://img.shields.io/github/license/flatpressblog/flatpress.svg?style=plastic"></a><br>
|
||||||
[[flatpress.org](https://www.flatpress.org/)] [[Support forum](https://forum.flatpress.org/)] [[Wiki](https://wiki.flatpress.org/)] [[GitHub](https://github.com/flatpressblog/flatpress)] [[Twitter](https://www.twitter.com/FlatPress)] [[Changelog](./CHANGELOG.md)] [[Contributors](./CONTRIBUTORS.md)]
|
[[flatpress.org](https://www.flatpress.org/)] [[Support forum](https://forum.flatpress.org/)] [[Wiki](https://wiki.flatpress.org/)] [[GitHub](https://github.com/flatpressblog/flatpress)] [<a rel="me" href="https://fosstodon.org/@flatpress">Mastodon</a>] [[Twitter](https://www.twitter.com/FlatPress)] [[Changelog](./CHANGELOG.md)] [[Contributors](./CONTRIBUTORS.md)]
|
||||||
|
|
||||||
# Welcome to FlatPress!
|
# Welcome to FlatPress!
|
||||||
FlatPress is a lightweight, easy-to-set-up blogging engine. Plain and simple, just PHP. No database needed!
|
FlatPress is a lightweight, easy-to-set-up blogging engine. Plain and simple, just PHP. No database needed!
|
||||||
@ -7,7 +7,7 @@ FlatPress is a lightweight, easy-to-set-up blogging engine. Plain and simple, ju
|
|||||||
## Getting started
|
## Getting started
|
||||||
Installing and running FlatPress is really easy:
|
Installing and running FlatPress is really easy:
|
||||||
- [Download FlatPress](https://www.flatpress.org/download), unzip, upload
|
- [Download FlatPress](https://www.flatpress.org/download), unzip, upload
|
||||||
- Browse to your web server, run FlatPress installer
|
- Browse to your web server, run simple FlatPress installer
|
||||||
- Enjoy blogging with FlatPress!
|
- Enjoy blogging with FlatPress!
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
@ -17,4 +17,5 @@ FlatPress runs on any web server (e.g. Apache or IIS) with PHP 5.6 or higher. Si
|
|||||||
There are many people who contributed to FlatPress over the years. [See them here.](./CONTRIBUTORS.md)
|
There are many people who contributed to FlatPress over the years. [See them here.](./CONTRIBUTORS.md)
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://fosstodon.org/users/flatpress/remote_follow" title="Follow on Mastodon"><img alt="Mastodon Follow" src="https://img.shields.io/mastodon/follow/326815?domain=https%3A%2F%2Ffosstodon.org&style=social" alt="Follow on Mastodon"></a><br>
|
||||||
<a href="https://twitter.com/intent/follow?screen_name=flatpress" title="Follow on Twitter"><img src="https://img.shields.io/twitter/follow/flatpress.svg?style=social&logo=twitter" alt="Follow on Twitter"></a>
|
<a href="https://twitter.com/intent/follow?screen_name=flatpress" title="Follow on Twitter"><img src="https://img.shields.io/twitter/follow/flatpress.svg?style=social&logo=twitter" alt="Follow on Twitter"></a>
|
||||||
|
362
admin/main.php
Executable file → Normal file
362
admin/main.php
Executable file → Normal file
@ -1,228 +1,186 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
// aggiungere nuovo protocollo per template
|
// aggiungere nuovo protocollo per template
|
||||||
|
include (ADMIN_DIR . 'panels/admin.defaultpanels.php');
|
||||||
|
include (ADMIN_DIR . 'includes/panels.prototypes.php');
|
||||||
|
require (SMARTY_DIR . 'SmartyValidate.class.php');
|
||||||
|
|
||||||
|
utils_nocache_headers();
|
||||||
|
|
||||||
include(ADMIN_DIR.'panels/admin.defaultpanels.php');
|
define('MOD_ADMIN_PANEL', 1);
|
||||||
include(ADMIN_DIR.'includes/panels.prototypes.php');
|
|
||||||
require(SMARTY_DIR . 'SmartyValidate.class.php');
|
function wp_nonce_ays() {
|
||||||
|
die('We apologize, an error occurred.');
|
||||||
utils_nocache_headers();
|
}
|
||||||
|
|
||||||
define('MOD_ADMIN_PANEL',1);
|
/*
|
||||||
|
* function admin_is_user_loggedin() {
|
||||||
function wp_nonce_ays() {
|
* return ($u=user_loggedin()) && utils_checkreferer() ;
|
||||||
die('We apologize, an error occurred.');
|
* }
|
||||||
|
*/
|
||||||
|
function main() {
|
||||||
|
|
||||||
|
// general setup
|
||||||
|
global $panel, $action, $lang, $smarty, $fp_admin, $fp_admin_action;
|
||||||
|
|
||||||
|
$panels = admin_getpanels();
|
||||||
|
|
||||||
|
$panel = (isset($_GET ['p'])) ? $_GET ['p'] : $panels [0];
|
||||||
|
define('ADMIN_PANEL', $panel);
|
||||||
|
$smarty->assign('panel', $panel);
|
||||||
|
|
||||||
|
// redirect to admin main page if requested panel does not exist
|
||||||
|
if (!admin_panelexists($panel)) {
|
||||||
|
// will lead to login if not logged in already
|
||||||
|
utils_redirect("admin.php");
|
||||||
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
$panelprefix = "admin.$panel";
|
||||||
function admin_is_user_loggedin() {
|
$panelpath = ADMIN_DIR . "panels/$panel/$panelprefix.php";
|
||||||
return ($u=user_loggedin()) && utils_checkreferer() ;
|
|
||||||
|
$fp_admin = null;
|
||||||
|
|
||||||
|
if (file_exists($panelpath)) {
|
||||||
|
|
||||||
|
include ($panelpath);
|
||||||
|
$panelclass = "admin_$panel";
|
||||||
|
|
||||||
|
if (!class_exists($panelclass))
|
||||||
|
trigger_error("No class defined for requested panel", E_USER_ERROR);
|
||||||
|
|
||||||
|
$fp_admin = new $panelclass($smarty);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
function main() {
|
|
||||||
|
|
||||||
// general setup
|
|
||||||
|
|
||||||
global $panel, $action, $lang, $smarty, $fp_admin, $fp_admin_action;
|
|
||||||
|
|
||||||
$panels = admin_getpanels();
|
|
||||||
|
|
||||||
$panel = (isset($_GET['p']))? $_GET['p'] : $panels[0];
|
|
||||||
define('ADMIN_PANEL', $panel);
|
|
||||||
$smarty->assign('panel', $panel);
|
|
||||||
|
|
||||||
if (!admin_panelexists($panel))
|
/* check if user is loggedin */
|
||||||
trigger_error('Requested panel does not exists!', E_USER_ERROR);
|
|
||||||
|
|
||||||
|
|
||||||
$panelprefix = "admin.$panel";
|
|
||||||
$panelpath = ADMIN_DIR."panels/$panel/$panelprefix.php";
|
|
||||||
|
|
||||||
|
|
||||||
$fp_admin = null;
|
|
||||||
|
|
||||||
if (file_exists($panelpath)) {
|
|
||||||
|
|
||||||
include($panelpath);
|
|
||||||
$panelclass = "admin_$panel";
|
|
||||||
|
|
||||||
if (!class_exists($panelclass))
|
|
||||||
trigger_error("No class defined for requested panel", E_USER_ERROR);
|
|
||||||
|
|
||||||
$fp_admin = new $panelclass($smarty);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* check if user is loggedin */
|
if (!user_loggedin()) {
|
||||||
|
utils_redirect("login.php");
|
||||||
if (!user_loggedin()) {
|
die();
|
||||||
utils_redirect("login.php");
|
}
|
||||||
die();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
$action = isset($_GET['action'])? $_GET['action'] : 'default';
|
|
||||||
if (!$fp_admin)
|
|
||||||
return;
|
|
||||||
|
|
||||||
$fp_admin_action = $fp_admin->get_action($action);
|
|
||||||
|
|
||||||
|
|
||||||
define('ADMIN_PANEL_ACTION', $action);
|
|
||||||
$smarty->assign('action', $action);
|
|
||||||
$panel_url = BLOG_BASEURL . "admin.php?p={$panel}";
|
|
||||||
$action_url = $panel_url . "&action={$action}";
|
|
||||||
$smarty->assign('panel_url', $panel_url);
|
|
||||||
$smarty->assign('action_url', $action_url);
|
|
||||||
|
|
||||||
|
|
||||||
if (!empty($_POST))
|
|
||||||
check_admin_referer("admin_{$panel}_{$action}");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$smarty->assign('success', sess_remove("success_{$panel}"));
|
|
||||||
$retval = $fp_admin_action->exec();
|
|
||||||
|
|
||||||
if ($retval > 0) { // if has REDIRECT option
|
|
||||||
// clear postdata by a redirect
|
|
||||||
|
|
||||||
sess_add("success_{$panel}", $smarty->get_template_vars('success'));
|
|
||||||
$smarty->get_template_vars('success');
|
|
||||||
|
|
||||||
$to_action = $retval > 1 ? ('&action=' . $action) : '';
|
|
||||||
$with_mod = isset($_GET['mod'])? ('&mod=' . $_GET['mod']) : '';
|
|
||||||
$with_arguments = '';
|
|
||||||
|
|
||||||
if ($retval == PANEL_REDIRECT_CURRENT) {
|
$action = isset($_GET ['action']) ? $_GET ['action'] : 'default';
|
||||||
foreach ($fp_admin_action->args as $mandatory_argument) {
|
if (!$fp_admin)
|
||||||
$with_arguments .= '&' . $mandatory_argument .
|
return;
|
||||||
'=' . $_REQUEST[$mandatory_argument];
|
|
||||||
}
|
$fp_admin_action = $fp_admin->get_action($action);
|
||||||
|
|
||||||
|
define('ADMIN_PANEL_ACTION', $action);
|
||||||
|
$smarty->assign('action', $action);
|
||||||
|
$panel_url = BLOG_BASEURL . "admin.php?p={$panel}";
|
||||||
|
$action_url = $panel_url . "&action={$action}";
|
||||||
|
$smarty->assign('panel_url', $panel_url);
|
||||||
|
$smarty->assign('action_url', $action_url);
|
||||||
|
|
||||||
|
if (!empty($_POST))
|
||||||
|
check_admin_referer("admin_{$panel}_{$action}");
|
||||||
|
|
||||||
|
$smarty->assign('success', sess_remove("success_{$panel}"));
|
||||||
|
$retval = $fp_admin_action->exec();
|
||||||
|
|
||||||
|
if ($retval > 0) { // if has REDIRECT option
|
||||||
|
// clear postdata by a redirect
|
||||||
|
|
||||||
|
sess_add("success_{$panel}", $smarty->get_template_vars('success'));
|
||||||
|
$smarty->get_template_vars('success');
|
||||||
|
|
||||||
|
$to_action = $retval > 1 ? ('&action=' . $action) : '';
|
||||||
|
$with_mod = isset($_GET ['mod']) ? ('&mod=' . $_GET ['mod']) : '';
|
||||||
|
$with_arguments = '';
|
||||||
|
|
||||||
|
if ($retval == PANEL_REDIRECT_CURRENT) {
|
||||||
|
foreach ($fp_admin_action->args as $mandatory_argument) {
|
||||||
|
$with_arguments .= '&' . $mandatory_argument . '=' . $_REQUEST [$mandatory_argument];
|
||||||
}
|
}
|
||||||
|
|
||||||
$url = "admin.php?p={$panel}{$to_action}{$with_mod}{$with_arguments}";
|
|
||||||
utils_redirect($url);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$smarty->register_modifier('action_link', 'admin_filter_action');
|
|
||||||
$smarty->register_modifier('cmd_link', 'admin_filter_command');
|
|
||||||
|
|
||||||
|
$url = "admin.php?p={$panel}{$to_action}{$with_mod}{$with_arguments}";
|
||||||
|
utils_redirect($url);
|
||||||
}
|
}
|
||||||
|
|
||||||
// smarty tag
|
|
||||||
function admin_filter_action($string, $action) {
|
|
||||||
if (strpos($string, '?')===false)
|
|
||||||
return $string .= "?action={$action}";
|
|
||||||
else
|
|
||||||
return $string .= wp_specialchars("&action={$action}");
|
|
||||||
}
|
|
||||||
|
|
||||||
// smarty tag
|
|
||||||
function admin_filter_command($string, $cmd, $val) {
|
|
||||||
|
|
||||||
global $panel, $action;
|
|
||||||
|
|
||||||
$arg = $cmd? "&{$cmd}" : $cmd;
|
|
||||||
|
|
||||||
return wp_nonce_url("{$string}{$arg}={$val}", "admin_{$panel}_{$action}_{$cmd}_{$val}");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function admin_panelstrings($panelprefix) {
|
|
||||||
|
|
||||||
global $lang, $smarty;
|
|
||||||
|
|
||||||
lang_load('admin');
|
|
||||||
lang_load($panelprefix);
|
|
||||||
|
|
||||||
$smarty->assign('subject', $lang['admin']['head']);
|
|
||||||
$smarty->assign('menubar', admin_getpanels());
|
|
||||||
|
|
||||||
add_filter('wp_title', 'admin_panel_title', 10, 2);
|
|
||||||
}
|
|
||||||
|
|
||||||
function admin_panel_title($title, $sep) {
|
|
||||||
|
|
||||||
global $lang, $panel;
|
|
||||||
|
|
||||||
$t = @$lang['admin']['panels'][$panel];
|
|
||||||
$title = "$title $sep $t";
|
|
||||||
return $title;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function showcontrolpanel($params, &$smarty) {
|
$smarty->register_modifier('action_link', 'admin_filter_action');
|
||||||
$smarty->display(ABS_PATH. ADMIN_DIR . 'main.tpl');
|
$smarty->register_modifier('cmd_link', 'admin_filter_command');
|
||||||
}
|
}
|
||||||
|
|
||||||
// html header
|
|
||||||
|
|
||||||
function admin_title($title, $sep) {
|
|
||||||
global $lang;
|
|
||||||
return $title = "$title $sep {$lang['admin']['head']}";
|
|
||||||
}
|
|
||||||
|
|
||||||
add_filter('wp_title', 'admin_title', 10, 2);
|
|
||||||
|
|
||||||
|
// smarty tag
|
||||||
|
function admin_filter_action($string, $action) {
|
||||||
|
if (strpos($string, '?') === false)
|
||||||
|
return $string .= "?action={$action}";
|
||||||
|
else
|
||||||
|
return $string .= wp_specialchars("&action={$action}");
|
||||||
|
}
|
||||||
|
|
||||||
// setup admin_header
|
// smarty tag
|
||||||
function admin_header_default_action() {
|
function admin_filter_command($string, $cmd, $val) {
|
||||||
global $panel, $action;
|
global $panel, $action;
|
||||||
do_action("admin_{$panel}_{$action}_head");
|
|
||||||
}
|
|
||||||
add_filter('admin_head', 'admin_header_default_action');
|
|
||||||
|
|
||||||
|
|
||||||
$fp_config = config_load();
|
|
||||||
system_init();
|
|
||||||
main();
|
|
||||||
admin_panelstrings('admin.'.ADMIN_PANEL);
|
|
||||||
theme_init($smarty);
|
|
||||||
$smarty->register_function('controlpanel', 'showcontrolpanel');
|
|
||||||
|
|
||||||
$v = $lang['admin'][$panel][$action];
|
|
||||||
|
|
||||||
|
|
||||||
$smarty->assign_by_ref('panelstrings', $v);
|
|
||||||
$smarty->assign_by_ref('plang', $v);
|
|
||||||
|
|
||||||
// We create a varible to write user name in tpls
|
$arg = $cmd ? "&{$cmd}" : $cmd;
|
||||||
if($user = user_loggedin()) {
|
|
||||||
$smarty->assign("username", $user['userid']);
|
|
||||||
} else {
|
|
||||||
$smarty->assign("username", "#NAME#");
|
|
||||||
}
|
|
||||||
|
|
||||||
// Custom lang message for admin panel
|
|
||||||
$smarty->assign("help_top", $lang['admin']['general']['help_top']);
|
|
||||||
$smarty->assign("logout", $lang['admin']['general']['logout_top']);
|
|
||||||
$smarty->assign("close", $lang['admin']['general']['close']);
|
|
||||||
$smarty->assign("blog", $lang['admin']['general']['blog']);
|
|
||||||
$smarty->assign("footer", $lang['admin']['general']['footer']);
|
|
||||||
|
|
||||||
$smarty->assign("sceditor_display", "bbcode");
|
return wp_nonce_url("{$string}{$arg}={$val}", "admin_{$panel}_{$action}_{$cmd}_{$val}");
|
||||||
|
}
|
||||||
|
|
||||||
if (isset($_GET['mod'])) {
|
function admin_panelstrings($panelprefix) {
|
||||||
|
global $lang, $smarty;
|
||||||
|
|
||||||
switch ($_GET['mod']) {
|
lang_load('admin');
|
||||||
case 'inline' :
|
lang_load($panelprefix);
|
||||||
|
|
||||||
|
$smarty->assign('subject', $lang ['admin'] ['head']);
|
||||||
|
$smarty->assign('menubar', admin_getpanels());
|
||||||
|
|
||||||
|
add_filter('wp_title', 'admin_panel_title', 10, 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
function admin_panel_title($title, $sep) {
|
||||||
|
global $lang, $panel;
|
||||||
|
|
||||||
|
$t = @$lang ['admin'] ['panels'] [$panel];
|
||||||
|
$title = "$title $sep $t";
|
||||||
|
return $title;
|
||||||
|
}
|
||||||
|
|
||||||
|
function showcontrolpanel($params, &$smarty) {
|
||||||
|
$smarty->display(ABS_PATH . ADMIN_DIR . 'main.tpl');
|
||||||
|
}
|
||||||
|
|
||||||
|
// html header
|
||||||
|
function admin_title($title, $sep) {
|
||||||
|
global $lang;
|
||||||
|
return $title = "$title $sep {$lang['admin']['head']}";
|
||||||
|
}
|
||||||
|
|
||||||
|
add_filter('wp_title', 'admin_title', 10, 2);
|
||||||
|
|
||||||
|
// setup admin_header
|
||||||
|
function admin_header_default_action() {
|
||||||
|
global $panel, $action;
|
||||||
|
do_action("admin_{$panel}_{$action}_head");
|
||||||
|
}
|
||||||
|
add_filter('admin_head', 'admin_header_default_action');
|
||||||
|
|
||||||
|
$fp_config = config_load();
|
||||||
|
system_init();
|
||||||
|
main();
|
||||||
|
admin_panelstrings('admin.' . ADMIN_PANEL);
|
||||||
|
theme_init($smarty);
|
||||||
|
$smarty->register_function('controlpanel', 'showcontrolpanel');
|
||||||
|
|
||||||
|
$v = $lang ['admin'] [$panel] [$action];
|
||||||
|
|
||||||
|
$smarty->assign_by_ref('panelstrings', $v);
|
||||||
|
$smarty->assign_by_ref('plang', $v);
|
||||||
|
|
||||||
|
if (isset($_GET ['mod'])) {
|
||||||
|
|
||||||
|
switch ($_GET ['mod']) {
|
||||||
|
case 'inline':
|
||||||
$smarty->display(ABS_PATH . ADMIN_DIR . 'admin-inline.tpl');
|
$smarty->display(ABS_PATH . ADMIN_DIR . 'admin-inline.tpl');
|
||||||
break;
|
break;
|
||||||
case 'ajax' :
|
case 'ajax':
|
||||||
echo $smarty->get_template_vars('success');
|
echo $smarty->get_template_vars('success');
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
$smarty->display('admin.tpl');
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
|
||||||
#$smarty->display('admin.tpl');
|
|
||||||
$smarty->display(ABS_PATH . ADMIN_DIR . 'admin.tpl');
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
class tpl_deleter extends fs_filelister {
|
class tpl_deleter extends fs_filelister {
|
||||||
|
|
||||||
function __construct() {
|
function __construct() {
|
||||||
|
|
||||||
// $this->smarty = $GLOBALS['_FP_SMARTY'];
|
// $this->smarty = $GLOBALS['_FP_SMARTY'];
|
||||||
$this->_directory = CACHE_DIR;
|
$this->_directory = CACHE_DIR;
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
@ -31,7 +31,7 @@ class tpl_deleter extends fs_filelister {
|
|||||||
// trigger_error($file, E_USER_NOTICE);
|
// trigger_error($file, E_USER_NOTICE);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class s_entry_crawler extends fs_filelister {
|
class s_entry_crawler extends fs_filelister {
|
||||||
@ -48,18 +48,18 @@ class s_entry_crawler extends fs_filelister {
|
|||||||
if (is_dir($f) && ctype_digit($file)) {
|
if (is_dir($f) && ctype_digit($file)) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fnmatch('entry*' . EXT, $file)) {
|
if (fnmatch('entry*' . EXT, $file)) {
|
||||||
$id = basename($file, EXT);
|
$id = basename($file, EXT);
|
||||||
$arr = entry_parse($id, true);
|
$arr = entry_parse($id, true);
|
||||||
|
|
||||||
echo "[POST] $id => {$arr['subject']}\n";
|
echo "[POST] $id => {$arr['subject']}\n";
|
||||||
$this->index->add($id, $arr);
|
$this->index->add($id, $arr);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -73,7 +73,7 @@ class admin_maintain extends AdminPanel {
|
|||||||
'default' => false,
|
'default' => false,
|
||||||
'updates' => false
|
'updates' => false
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class admin_maintain_updates extends AdminPanelAction {
|
class admin_maintain_updates extends AdminPanelAction {
|
||||||
@ -91,12 +91,14 @@ class admin_maintain_updates extends AdminPanelAction {
|
|||||||
$success = -1;
|
$success = -1;
|
||||||
$ver = array(
|
$ver = array(
|
||||||
'stable' => 'unknown',
|
'stable' => 'unknown',
|
||||||
'unstable' => 'unknown'
|
'unstable' => 'unknown',
|
||||||
|
'notice' => ''
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// retrieve content of update file
|
||||||
$file = utils_geturl($this->web);
|
$file = utils_geturl($this->web);
|
||||||
|
|
||||||
if ($file) {
|
if (!$file ['errno'] && $file ['http_code'] < 400) {
|
||||||
$ver = utils_kexplode($file ['content']);
|
$ver = utils_kexplode($file ['content']);
|
||||||
if (!isset($ver ['stable'])) {
|
if (!isset($ver ['stable'])) {
|
||||||
$success = -1;
|
$success = -1;
|
||||||
@ -108,13 +110,15 @@ class admin_maintain_updates extends AdminPanelAction {
|
|||||||
} else {
|
} else {
|
||||||
$success = -1;
|
$success = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->smarty->assign('updates', $ver);
|
$this->smarty->assign('stableversion', $ver ['stable']);
|
||||||
|
$this->smarty->assign('unstableversion', $ver ['unstable']);
|
||||||
|
$this->smarty->assign('notice', $ver ['notice']);
|
||||||
$this->smarty->assign('fpweb', $this->fpweb);
|
$this->smarty->assign('fpweb', $this->fpweb);
|
||||||
$this->smarty->assign('sfweb', $this->sfweb);
|
$this->smarty->assign('sfweb', $this->sfweb);
|
||||||
$this->smarty->assign('success', $success);
|
$this->smarty->assign('success', $success);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class admin_maintain_default extends AdminPanelAction {
|
class admin_maintain_default extends AdminPanelAction {
|
||||||
@ -127,27 +131,27 @@ class admin_maintain_default extends AdminPanelAction {
|
|||||||
switch ($do) {
|
switch ($do) {
|
||||||
case 'rebuild':
|
case 'rebuild':
|
||||||
{
|
{
|
||||||
|
|
||||||
if (substr(INDEX_DIR, -1) == '/')
|
if (substr(INDEX_DIR, -1) == '/')
|
||||||
$oldidx = substr(INDEX_DIR, 0, -1);
|
$oldidx = substr(INDEX_DIR, 0, -1);
|
||||||
|
|
||||||
$movedir = $oldidx . time();
|
$movedir = $oldidx . time();
|
||||||
|
|
||||||
header('Content-Type: text/plain');
|
header('Content-Type: text/plain');
|
||||||
echo "ENTERING LOWRES MODE\n\n";
|
echo "ENTERING LOWRES MODE\n\n";
|
||||||
|
|
||||||
if (file_exists(INDEX_DIR)) {
|
if (file_exists(INDEX_DIR)) {
|
||||||
|
|
||||||
echo "BACKUP INDEX to $movedir\n";
|
echo "BACKUP INDEX to $movedir\n";
|
||||||
$ret = @rename($oldidx, $movedir);
|
$ret = @rename($oldidx, $movedir);
|
||||||
if (!$ret)
|
if (!$ret)
|
||||||
trigger_error('Cannot backup old index. STOP.', E_USER_ERROR);
|
trigger_error('Cannot backup old index. STOP.', E_USER_ERROR);
|
||||||
}
|
}
|
||||||
fs_mkdir(INDEX_DIR);
|
fs_mkdir(INDEX_DIR);
|
||||||
|
|
||||||
new s_entry_crawler();
|
new s_entry_crawler();
|
||||||
exit("\nDONE \nPlease, select the back arrow in your browser");
|
exit("\nDONE \nPlease, select the back arrow in your browser");
|
||||||
|
|
||||||
return PANEL_NOREDIRECT;
|
return PANEL_NOREDIRECT;
|
||||||
}
|
}
|
||||||
case 'restorechmods':
|
case 'restorechmods':
|
||||||
@ -167,10 +171,10 @@ class admin_maintain_default extends AdminPanelAction {
|
|||||||
$this->smarty->compile_check = true;
|
$this->smarty->compile_check = true;
|
||||||
$this->smarty->force_compile = true;
|
$this->smarty->force_compile = true;
|
||||||
$this->smarty->assign('success', 1);
|
$this->smarty->assign('success', 1);
|
||||||
|
|
||||||
if (!file_exists(CACHE_DIR))
|
if (!file_exists(CACHE_DIR))
|
||||||
fs_mkdir(CACHE_DIR);
|
fs_mkdir(CACHE_DIR);
|
||||||
|
|
||||||
return PANEL_NOREDIRECT;
|
return PANEL_NOREDIRECT;
|
||||||
}
|
}
|
||||||
case 'phpinfo':
|
case 'phpinfo':
|
||||||
@ -179,17 +183,17 @@ class admin_maintain_default extends AdminPanelAction {
|
|||||||
phpinfo();
|
phpinfo();
|
||||||
$info = ob_get_contents();
|
$info = ob_get_contents();
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
|
||||||
$this->smarty->assign('phpinfo', preg_replace('%^.*<body>(.*)</body>.*$%ms', '$1', $info));
|
$this->smarty->assign('phpinfo', preg_replace('%^.*<body>(.*)</body>.*$%ms', '$1', $info));
|
||||||
}
|
}
|
||||||
|
|
||||||
return PANEL_NOREDIRECT;
|
return PANEL_NOREDIRECT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -1,29 +1,30 @@
|
|||||||
{include file=shared:admin_errorlist.tpl}
|
{include file=shared:admin_errorlist.tpl}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-6 mb-4">
|
<div class="col-lg-6 mb-4">
|
||||||
<div class="card shadow mb-4">
|
<div class="card shadow mb-4">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<h6 class="m-0 font-weight-bold text-primary">{$panelstrings.head}</h6>
|
<h6 class="m-0 font-weight-bold text-primary">{$panelstrings.head}</h6>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
{$panelstrings.list|sprintf:$smarty.const.SYSTEM_VER:$sfweb:$updates.stable:$fpweb:$updates.unstable}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
|
||||||
{$panelstrings.list|sprintf:$smarty.const.SYSTEM_VER:$sfweb:$updates.stable:$fpweb:$updates.unstable}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{if $notice}
|
||||||
|
<div class="col-lg-6 mb-4">
|
||||||
|
<div class="card shadow mb-4">
|
||||||
|
<div class="card-header">
|
||||||
|
<h6 class="m-0 font-weight-bold text-primary">{$panelstrings.notice}</h6>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
{if $updates && $updates.notice}
|
||||||
|
<p>{$updates.notice}</p>
|
||||||
|
{else}
|
||||||
|
<p>{$panelstrings.no_news}</p>
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 mb-4">
|
|
||||||
<div class="card shadow mb-4">
|
|
||||||
<div class="card-header">
|
|
||||||
<h6 class="m-0 font-weight-bold text-primary">{$panelstrings.notice}</h6>
|
|
||||||
</div>
|
|
||||||
<div class="card-body">
|
|
||||||
{if $updates.notice}
|
|
||||||
<p>{$updates.notice}</p>
|
|
||||||
{else}
|
|
||||||
<p>{$panelstrings.no_news}</p>
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
@ -3,145 +3,128 @@
|
|||||||
/**
|
/**
|
||||||
* plugin control panel
|
* plugin control panel
|
||||||
*
|
*
|
||||||
* Type:
|
* Type:
|
||||||
* Name:
|
* Name:
|
||||||
* Date:
|
* Date:
|
||||||
* Purpose:
|
* Purpose:
|
||||||
* Input:
|
* Input:
|
||||||
*
|
|
||||||
* @author NoWhereMan <real_nowhereman at users dot sf dot com>
|
|
||||||
*
|
*
|
||||||
|
* @author NoWhereMan <real_nowhereman at users dot sf dot com>
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
function admin_plugin_adminheader() {
|
* function admin_plugin_adminheader() {
|
||||||
$f = ADMIN_DIR . '/panels/plugin/admin.plugin.js';
|
* $f = ADMIN_DIR . '/panels/plugin/admin.plugin.js';
|
||||||
echo <<<SCP
|
* echo '<script src="$f" type="text/javascript"></script>
|
||||||
<script src="$f" type="text/javascript"></script>
|
* ';
|
||||||
SCP;
|
*
|
||||||
|
* }
|
||||||
}
|
* add_action('wp_head', 'admin_plugin_adminheader');
|
||||||
add_action('wp_head', 'admin_plugin_adminheader');
|
*/
|
||||||
*/
|
class admin_plugin extends AdminPanel {
|
||||||
|
|
||||||
class admin_plugin extends AdminPanel {
|
|
||||||
var $panelname = 'plugin';
|
|
||||||
var $actions = array('default'=>true);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
class admin_plugin_default extends AdminPanelAction {
|
|
||||||
|
|
||||||
|
|
||||||
var $commands = array('enable', 'disable');
|
|
||||||
var $errors = array();
|
|
||||||
|
|
||||||
function setup() {
|
|
||||||
|
|
||||||
$this->pluginid = isset($_GET['plugin'])? $_GET['plugin'] : null;
|
|
||||||
|
|
||||||
$pi = new plugin_indexer;
|
|
||||||
$plist = $pi->getList();
|
|
||||||
sort($plist);
|
|
||||||
$this->smarty->assign('pluginlist', $plist);
|
|
||||||
$this->errors = @$pi->getEnableds(true);
|
|
||||||
$this->fp_plugins = $pi->enabledlist;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
function dodisable($id) {
|
|
||||||
|
|
||||||
$fp_plugins = $this->fp_plugins;
|
|
||||||
|
|
||||||
|
|
||||||
$success = -1;
|
|
||||||
|
|
||||||
if (plugin_exists($id)) {
|
|
||||||
|
|
||||||
$success = 1;
|
|
||||||
|
|
||||||
if (false !== $i = array_search($id, $fp_plugins)) {
|
|
||||||
unset($fp_plugins[$i]);
|
|
||||||
sort($fp_plugins); /* compact indices */
|
|
||||||
do_action('deactivate_'.$id);
|
|
||||||
$success = system_save(CONFIG_DIR . 'plugins.conf.php', compact('fp_plugins'));
|
|
||||||
} else {
|
|
||||||
$success = -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($success)
|
|
||||||
$this->smarty->assign('success', $success);
|
|
||||||
|
|
||||||
return PANEL_REDIRECT_CURRENT;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
function doenable ($id) {
|
|
||||||
$success = -1;
|
|
||||||
$fp_plugins = $this->fp_plugins;
|
|
||||||
|
|
||||||
|
|
||||||
if (plugin_exists($id)) {
|
|
||||||
|
|
||||||
$success = 1;
|
|
||||||
|
|
||||||
if (!in_array($id, $fp_plugins)) {
|
|
||||||
$fp_plugins[] = $id;
|
|
||||||
sort($fp_plugins);
|
|
||||||
plugin_load($id, false, false);
|
|
||||||
do_action('activate_'.$id);
|
|
||||||
$success = system_save(CONFIG_DIR . 'plugins.conf.php', compact('fp_plugins'));
|
|
||||||
} else {
|
|
||||||
$success = -1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($success)
|
|
||||||
$this->smarty->assign('success', $success);
|
|
||||||
|
|
||||||
return PANEL_REDIRECT_CURRENT;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
var $panelname = 'plugin';
|
||||||
|
|
||||||
function main() {
|
var $actions = array(
|
||||||
|
'default' => true
|
||||||
|
);
|
||||||
//$conf = io_load_file(CONFIG_DIR . 'plugins.conf.php');
|
|
||||||
|
}
|
||||||
|
|
||||||
$this->smarty->assign('warnings', $this->errors);
|
class admin_plugin_default extends AdminPanelAction {
|
||||||
$this->smarty->assign('enabledlist', $this->fp_plugins);
|
|
||||||
|
var $commands = array(
|
||||||
|
'enable',
|
||||||
lang_load('admin.plugin');
|
'disable'
|
||||||
|
);
|
||||||
return 0;
|
|
||||||
|
var $errors = array();
|
||||||
|
|
||||||
}
|
function setup() {
|
||||||
|
$this->pluginid = isset($_GET ['plugin']) ? $_GET ['plugin'] : null;
|
||||||
|
|
||||||
function onsave() {
|
$pi = new plugin_indexer();
|
||||||
|
$plist = $pi->getList();
|
||||||
$fp_plugins = array_keys($_POST['plugin_enabled']);
|
sort($plist);
|
||||||
$success = system_save(CONFIG_DIR . 'plugins.conf.php', compact('fp_plugins'));
|
$this->smarty->assign('pluginlist', $plist);
|
||||||
|
$this->errors = @$pi->getEnableds(true);
|
||||||
$retval = ( $success )? 1 : -1 ;
|
$this->fp_plugins = $pi->enabledlist;
|
||||||
|
|
||||||
$this->smarty->assign('success', $retval);
|
|
||||||
//$this->smarty->assign('pluginconf', $str);
|
|
||||||
|
|
||||||
return $retval;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
function dodisable($id) {
|
||||||
|
$fp_plugins = $this->fp_plugins;
|
||||||
|
|
||||||
|
$success = -1;
|
||||||
|
|
||||||
|
if (plugin_exists($id)) {
|
||||||
|
|
||||||
|
$success = 1;
|
||||||
|
|
||||||
|
if (false !== $i = array_search($id, $fp_plugins)) {
|
||||||
|
unset($fp_plugins [$i]);
|
||||||
|
sort($fp_plugins); /* compact indices */
|
||||||
|
do_action('deactivate_' . $id);
|
||||||
|
$success = system_save(CONFIG_DIR . 'plugins.conf.php', compact('fp_plugins'));
|
||||||
|
} else {
|
||||||
|
$success = -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($success)
|
||||||
|
$this->smarty->assign('success', $success);
|
||||||
|
|
||||||
|
return PANEL_REDIRECT_CURRENT;
|
||||||
|
}
|
||||||
|
|
||||||
|
function doenable($id) {
|
||||||
|
$success = -1;
|
||||||
|
$fp_plugins = $this->fp_plugins;
|
||||||
|
|
||||||
|
if (plugin_exists($id)) {
|
||||||
|
|
||||||
|
$success = 1;
|
||||||
|
|
||||||
|
if (!in_array($id, $fp_plugins)) {
|
||||||
|
$fp_plugins [] = $id;
|
||||||
|
sort($fp_plugins);
|
||||||
|
plugin_load($id, false, false);
|
||||||
|
do_action('activate_' . $id);
|
||||||
|
$success = system_save(CONFIG_DIR . 'plugins.conf.php', compact('fp_plugins'));
|
||||||
|
} else {
|
||||||
|
$success = -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($success)
|
||||||
|
$this->smarty->assign('success', $success);
|
||||||
|
|
||||||
|
return PANEL_REDIRECT_CURRENT;
|
||||||
|
}
|
||||||
|
|
||||||
|
function main() {
|
||||||
|
|
||||||
|
// $conf = io_load_file(CONFIG_DIR . 'plugins.conf.php');
|
||||||
|
$this->smarty->assign('warnings', $this->errors);
|
||||||
|
$this->smarty->assign('enabledlist', $this->fp_plugins);
|
||||||
|
|
||||||
|
lang_load('admin.plugin');
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
function onsave() {
|
||||||
|
$fp_plugins = array_keys($_POST ['plugin_enabled']);
|
||||||
|
$success = system_save(CONFIG_DIR . 'plugins.conf.php', compact('fp_plugins'));
|
||||||
|
|
||||||
|
$retval = ($success) ? 1 : -1;
|
||||||
|
|
||||||
|
$this->smarty->assign('success', $retval);
|
||||||
|
// $this->smarty->assign('pluginconf', $str);
|
||||||
|
|
||||||
|
return $retval;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
@ -75,13 +75,23 @@
|
|||||||
|
|
||||||
<ul id="widgetsetid-{$widgetset}">
|
<ul id="widgetsetid-{$widgetset}">
|
||||||
{foreach from=$widgetarr item=widget}
|
{foreach from=$widgetarr item=widget}
|
||||||
|
{if isset($widget.class)}
|
||||||
|
{assign var=widgetclass value=$widget.class}
|
||||||
|
{else}
|
||||||
|
{assign var=widgetclass value=""}
|
||||||
|
{/if}
|
||||||
|
{if isset($widget.params)}
|
||||||
|
{assign var=widgetparams value=$widget.params}
|
||||||
|
{else}
|
||||||
|
{assign var=widgetparams value=""}
|
||||||
|
{/if}
|
||||||
<li class="widget-instance widget-id-{$widget.id} {if isset($widget.class)}{$widget.class}{/if}">
|
<li class="widget-instance widget-id-{$widget.id} {if isset($widget.class)}{$widget.class}{/if}">
|
||||||
<input class="widget-id" type="hidden" name="widgets[{$widgetset}][]"
|
<input class="widget-id" type="hidden" name="widgets[{$widgetset}][]"
|
||||||
value="{$widget.id}{if isset($widget.params)}:{$widget.params}{/if}" />
|
value="{$widget.id}{$widgetparams}" />
|
||||||
{if isset($widget.params)}
|
{if !empty($widgetparams)}
|
||||||
{* this will be hooked from javascript *}
|
{* this will be hooked from javascript *}
|
||||||
<input class="textinput" style="float:right"
|
<input class="textinput" style="float:right"
|
||||||
type="text" value="{$widget.params}"/>
|
type="text" value="{$widgetparams}"/>
|
||||||
{/if}
|
{/if}
|
||||||
<p> <span class="ti-move"></span> {$widget.name} </p>
|
<p> <span class="ti-move"></span> {$widget.name} </p>
|
||||||
</li>
|
</li>
|
||||||
|
@ -1,137 +1,140 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class LayoutDefault {
|
class LayoutDefault {
|
||||||
var $content;
|
|
||||||
var $fpdb;
|
|
||||||
var $fp_widgets;
|
|
||||||
var $smarty;
|
|
||||||
var $config;
|
|
||||||
var $lang;
|
|
||||||
|
|
||||||
var $tpl = 'index.tpl';
|
|
||||||
|
|
||||||
var $message_queue = array();
|
|
||||||
|
|
||||||
function LayoutDefault($content=array()) {
|
var $content;
|
||||||
|
|
||||||
|
var $fpdb;
|
||||||
|
|
||||||
|
var $fp_widgets;
|
||||||
|
|
||||||
|
var $smarty;
|
||||||
|
|
||||||
|
var $config;
|
||||||
|
|
||||||
|
var $lang;
|
||||||
|
|
||||||
|
var $tpl = 'index.tpl';
|
||||||
|
|
||||||
|
var $message_queue = array();
|
||||||
|
|
||||||
|
function LayoutDefault($content = array()) {
|
||||||
|
$this->pagecontent = $content;
|
||||||
|
|
||||||
$this->pagecontent = $content;
|
$this->fpdb =& new FPDB();
|
||||||
|
$GLOBALS ['fpdb'] = & $this->fpdb;
|
||||||
$this->fpdb =& new FPDB;
|
|
||||||
$GLOBALS['fpdb'] =& $this->fpdb;
|
|
||||||
|
|
||||||
$this->fp_widgets =& new widget_indexer;
|
$this->fp_widgets =& new widget_indexer();
|
||||||
$GLOBALS['fp_widgets'] =& $this->fp_widgets;
|
$GLOBALS ['fp_widgets'] = & $this->fp_widgets;
|
||||||
|
|
||||||
$this->smarty =& $GLOBALS['_FP_SMARTY'];
|
|
||||||
|
|
||||||
$GLOBALS['fp_config'] =& $this->config;
|
|
||||||
$this->config = $GLOBALS['fp_config']['general'];
|
|
||||||
|
|
||||||
|
|
||||||
$this->theme = theme_loadsettings();
|
|
||||||
$GLOBALS['theme'] =& $this->theme;
|
|
||||||
|
|
||||||
$this->lang = lang_load();
|
|
||||||
$GLOBALS['lang'] =& $this->lang;
|
|
||||||
|
|
||||||
// user_loggedin() or sess_setup();
|
|
||||||
|
|
||||||
plugin_loadall();
|
|
||||||
|
|
||||||
// init smarty
|
|
||||||
|
|
||||||
$this->smarty->compile_dir = CACHE_DIR;
|
|
||||||
$this->smarty->cache_dir = SMARTY_DIR . 'cache/';
|
|
||||||
$this->smarty->caching = 0;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
do_action('init');
|
|
||||||
|
|
||||||
}
|
$this->smarty = & $GLOBALS ['_FP_SMARTY'];
|
||||||
|
|
||||||
|
$GLOBALS ['fp_config'] = & $this->config;
|
||||||
function display() {
|
$this->config = $GLOBALS ['fp_config'] ['general'];
|
||||||
$this->main();
|
|
||||||
theme_init($this->smarty, $this);
|
$this->theme = theme_loadsettings();
|
||||||
$this->smarty->display($this->tpl);
|
$GLOBALS ['theme'] = & $this->theme;
|
||||||
|
|
||||||
unset($this->smarty);
|
$this->lang = lang_load();
|
||||||
|
$GLOBALS ['lang'] = & $this->lang;
|
||||||
do_action('shutdown');
|
|
||||||
|
// user_loggedin() or sess_setup();
|
||||||
}
|
|
||||||
/*
|
plugin_loadall();
|
||||||
|
|
||||||
function post_message($module, $ring, $message) {
|
// init smarty
|
||||||
$this->message_queue[$module][$ring][]=$message;
|
|
||||||
|
$this->smarty->compile_dir = CACHE_DIR;
|
||||||
}
|
$this->smarty->cache_dir = SMARTY_DIR . 'cache/';
|
||||||
|
$this->smarty->caching = 0;
|
||||||
function flush_messages($module, $ring=-1) {
|
|
||||||
|
do_action('init');
|
||||||
$msg_arr=array();
|
|
||||||
if ($ring<0)
|
|
||||||
$ring_arr =
|
|
||||||
array_keys($this->message_queue[$module]);
|
|
||||||
else
|
|
||||||
$ring_arr = array($ring);
|
|
||||||
|
|
||||||
foreach($ring_arr as $this_ring) {
|
|
||||||
$localq=& $this->message_queue[$module][$this_ring];
|
|
||||||
foreach ($localq as $msg) {
|
|
||||||
$msg_arr[]=$msg;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->smarty->append('err', $msg_arr);
|
|
||||||
return $msg_arr;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
class Abstract_LayoutIndex extends LayoutDefault {
|
|
||||||
|
|
||||||
var $tpl = 'index.tpl';
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
class Abstract_LayoutComment extends LayoutDefault {
|
|
||||||
|
|
||||||
var $tpl = 'comments.tpl';
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
class Abstract_LayoutDialog extends LayoutDefault {
|
|
||||||
|
|
||||||
var $tpl = 'default.tpl';
|
|
||||||
|
|
||||||
function page($subject, $content, $rawcontent=false) {
|
|
||||||
$this->pagecontent = array(
|
|
||||||
'subject'=>$subject,
|
|
||||||
'content'=>$content
|
|
||||||
);
|
|
||||||
|
|
||||||
if ($rawcontent) $this->smarty->assign('rawcontent', true);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
function pagecontent($params, $content, &$smarty, &$repeat) {
|
|
||||||
if ($this->pagecontent) {
|
|
||||||
$this->smarty->assign($this->pagecontent);
|
|
||||||
return $content;
|
|
||||||
} else return;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
function display() {
|
|
||||||
$this->smarty->register_block('page', array(&$this, 'pagecontent'));
|
|
||||||
parent::display();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function display() {
|
||||||
|
$this->main();
|
||||||
|
theme_init($this->smarty, $this);
|
||||||
|
$this->smarty->display($this->tpl);
|
||||||
|
|
||||||
|
unset($this->smarty);
|
||||||
|
|
||||||
|
do_action('shutdown');
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* function post_message($module, $ring, $message) {
|
||||||
|
* $this->message_queue[$module][$ring][]=$message;
|
||||||
|
*
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* function flush_messages($module, $ring=-1) {
|
||||||
|
*
|
||||||
|
* $msg_arr=array();
|
||||||
|
* if ($ring<0)
|
||||||
|
* $ring_arr =
|
||||||
|
* array_keys($this->message_queue[$module]);
|
||||||
|
* else
|
||||||
|
* $ring_arr = array($ring);
|
||||||
|
*
|
||||||
|
* foreach($ring_arr as $this_ring) {
|
||||||
|
* $localq=& $this->message_queue[$module][$this_ring];
|
||||||
|
* foreach ($localq as $msg) {
|
||||||
|
* $msg_arr[]=$msg;
|
||||||
|
* }
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* $this->smarty->append('err', $msg_arr);
|
||||||
|
* return $msg_arr;
|
||||||
|
* }
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
|
class Abstract_LayoutIndex extends LayoutDefault {
|
||||||
|
|
||||||
|
var $tpl = 'index.tpl';
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
class Abstract_LayoutComment extends LayoutDefault {
|
||||||
|
|
||||||
|
var $tpl = 'comments.tpl';
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
class Abstract_LayoutDialog extends LayoutDefault {
|
||||||
|
|
||||||
|
var $tpl = 'default.tpl';
|
||||||
|
|
||||||
|
function page($subject, $content, $rawcontent = false) {
|
||||||
|
$this->pagecontent = array(
|
||||||
|
'subject' => $subject,
|
||||||
|
'content' => $content
|
||||||
|
);
|
||||||
|
|
||||||
|
if ($rawcontent) {
|
||||||
|
$this->smarty->assign('rawcontent', true);
|
||||||
|
} else {
|
||||||
|
$this->smarty->assign('rawcontent', false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function pagecontent($params, $content, &$smarty, &$repeat) {
|
||||||
|
if ($this->pagecontent) {
|
||||||
|
$this->smarty->assign($this->pagecontent);
|
||||||
|
return $content;
|
||||||
|
} else
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
function display() {
|
||||||
|
$this->smarty->register_block('page', array(
|
||||||
|
&$this,
|
||||||
|
'pagecontent'
|
||||||
|
));
|
||||||
|
parent::display();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -68,7 +68,7 @@ function system_hashsalt_save($force = false) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
define('SYSTEM_VER', '1.2.beta1');
|
define('SYSTEM_VER', '1.2');
|
||||||
|
|
||||||
function system_ver() {
|
function system_ver() {
|
||||||
return 'fp-' . SYSTEM_VER;
|
return 'fp-' . SYSTEM_VER;
|
||||||
|
@ -409,10 +409,7 @@ function utils_geturl($url) {
|
|||||||
|
|
||||||
function utils_checksmarty() {
|
function utils_checksmarty() {
|
||||||
if (!file_exists(SMARTY_DIR . 'Smarty.class.php')) {
|
if (!file_exists(SMARTY_DIR . 'Smarty.class.php')) {
|
||||||
$err = <<<ERR
|
$err = 'Fatal error: Smarty is not installed; please download it from <a href="http://smarty.php.net">http://smarty.php.net</a>; you will probably need <a href="http://www.phpinsider.com/php/code/SmartyValidate/">SmartyValidate</a> as well; unpack them to <b>fp-includes/core/smarty</b>: please do not overwrite files in fp-includes/core/smarty/plugins/';
|
||||||
Fatal error: Smarty is not installed; please download it from <a href="http://smarty.php.net">http://smarty.php.net</a>; you will
|
|
||||||
probably need <a href="http://www.phpinsider.com/php/code/SmartyValidate/">SmartyValidate</a> as well; unpack them to <b>fp-includes/core/smarty</b>: please do not overwrite files in fp-includes/core/smarty/plugins/
|
|
||||||
ERR;
|
|
||||||
trigger_error($err, E_USER_ERROR);
|
trigger_error($err, E_USER_ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
'submit' => 'Publikovat',
|
'submit' => 'Publikovat',
|
||||||
'preview' => 'Zobrazit',
|
'preview' => 'Zobrazit',
|
||||||
'savecontinue' => 'Uložit&Pokračovat',
|
'savecontinue' => 'Uložit&Pokračovat',
|
||||||
'archive' => 'Archív',
|
'categories' => 'Kategorie',
|
||||||
'nocategories' => 'Kategorie nenastavená. <a href="admin.php?p=entry&action=cats">Vytvořte si vlastní '.
|
'nocategories' => 'Kategorie nenastavená. <a href="admin.php?p=entry&action=cats">Vytvořte si vlastní '.
|
||||||
'kategorii</a> v Správě kategorií. '.
|
'kategorii</a> v Správě kategorií. '.
|
||||||
'<a href="#save">Uložit</a> nejdřív Váš příspěvek.',
|
'<a href="#save">Uložit</a> nejdřív Váš příspěvek.',
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
$lang ['comments'] ['mail'] = '"%fromname%" %frommail% přidal komentář k příspěvku "%entrytitle%".
|
||||||
$lang['comments']['mail'] = <<<MAIL
|
|
||||||
"%fromname%" %frommail% přidal komentář k příspěvku "%entrytitle%".
|
|
||||||
|
|
||||||
Zde je odkaz na Váš příspěvek:
|
Zde je odkaz na Váš příspěvek:
|
||||||
%commentlink%
|
%commentlink%
|
||||||
@ -11,6 +9,6 @@ Zde je komentář, který byl vložen:
|
|||||||
|
|
||||||
S pozdravem %blogtitle%
|
S pozdravem %blogtitle%
|
||||||
|
|
||||||
MAIL;
|
';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
'submit' => 'Veröffentlichen',
|
'submit' => 'Veröffentlichen',
|
||||||
'preview' => 'Vorschau',
|
'preview' => 'Vorschau',
|
||||||
'savecontinue' => 'Speichern & weiter',
|
'savecontinue' => 'Speichern & weiter',
|
||||||
'archive' => 'Kategorie für den Beitrag auswählen',
|
'categories' => 'Kategorie für den Beitrag auswählen',
|
||||||
'nocategories' => 'Keine Kategorie ausgewählt. <a href="admin.php?p=entry&action=cats">Erstelle eine '.
|
'nocategories' => 'Keine Kategorie ausgewählt. <a href="admin.php?p=entry&action=cats">Erstelle eine '.
|
||||||
'Kategorie</a> im Verwaltungsbereich. '.
|
'Kategorie</a> im Verwaltungsbereich. '.
|
||||||
'Bitte Beitrag vorher <a href="#save">speichern</a>.',
|
'Bitte Beitrag vorher <a href="#save">speichern</a>.',
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
$lang ['comments'] ['mail'] = 'Hallo %toname%,
|
||||||
$lang['comments']['mail'] = <<<MAIL
|
|
||||||
Hallo %toname%,
|
|
||||||
|
|
||||||
"%fromname%" %frommail% hat einen Kommentar zu dem Thema "%entrytitle%" geschrieben.
|
"%fromname%" %frommail% hat einen Kommentar zu dem Thema "%entrytitle%" geschrieben.
|
||||||
|
|
||||||
@ -16,6 +14,6 @@ Folgendes wurde als Kommentar geschrieben:
|
|||||||
Automatisch generiert von,
|
Automatisch generiert von,
|
||||||
%blogtitle%
|
%blogtitle%
|
||||||
|
|
||||||
MAIL;
|
';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
'submit' => 'Δημοσίευση',
|
'submit' => 'Δημοσίευση',
|
||||||
'preview' => 'Προεπισκόπηση',
|
'preview' => 'Προεπισκόπηση',
|
||||||
'savecontinue' => 'Αποθήκευση & Συνέχεια',
|
'savecontinue' => 'Αποθήκευση & Συνέχεια',
|
||||||
'archive' => 'Κατηγορία',
|
'categories' => 'Κατηγορία',
|
||||||
'nocategories' => 'Δεν ορίστηκε κατηγορία. <a href="admin.php?p=entry&action=cats">Δημιουργήστε τη δικιά σας '.
|
'nocategories' => 'Δεν ορίστηκε κατηγορία. <a href="admin.php?p=entry&action=cats">Δημιουργήστε τη δικιά σας '.
|
||||||
'categories</a> από τον πίνακα ελέγχου της καταχώρησης. '.
|
'categories</a> από τον πίνακα ελέγχου της καταχώρησης. '.
|
||||||
'<a href="#save">Αποθηκεύστε</a> την καταχώρηση σας πρώτα.',
|
'<a href="#save">Αποθηκεύστε</a> την καταχώρηση σας πρώτα.',
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
$lang ['comments'] ['mail'] = 'Αγαπητέ/η %toname%,
|
||||||
$lang['comments']['mail'] = <<<MAIL
|
|
||||||
Αγαπητέ/η %toname%,
|
|
||||||
|
|
||||||
Ο/Η "%fromname%" %frommail% μόλις πρόσθεσε ένα σχόλιο στην καταχώρηση με τίτλο "%entrytitle%".
|
Ο/Η "%fromname%" %frommail% μόλις πρόσθεσε ένα σχόλιο στην καταχώρηση με τίτλο "%entrytitle%".
|
||||||
|
|
||||||
@ -16,6 +14,6 @@
|
|||||||
Ευχές για τα καλύτερα,
|
Ευχές για τα καλύτερα,
|
||||||
%blogtitle%
|
%blogtitle%
|
||||||
|
|
||||||
MAIL;
|
';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
$lang ['comments'] ['mail'] = 'Dear %toname%,
|
||||||
$lang['comments']['mail'] = <<<MAIL
|
|
||||||
Dear %toname%,
|
|
||||||
|
|
||||||
"%fromname%" %frommail% has just posted a comment to the entry entitled "%entrytitle%".
|
"%fromname%" %frommail% has just posted a comment to the entry entitled "%entrytitle%".
|
||||||
|
|
||||||
@ -16,6 +14,6 @@ Here is the comment that has just been posted:
|
|||||||
All the best,
|
All the best,
|
||||||
%blogtitle%
|
%blogtitle%
|
||||||
|
|
||||||
MAIL;
|
';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
$lang ['comments'] ['mail'] = 'Estimado %toname%,
|
||||||
$lang['comments']['mail'] = <<<MAIL
|
|
||||||
Estimado %toname%,
|
|
||||||
|
|
||||||
"%fromname%" %frommail% acaba de publicar un comentario en la entrada titulada "%entrytitle%".
|
"%fromname%" %frommail% acaba de publicar un comentario en la entrada titulada "%entrytitle%".
|
||||||
|
|
||||||
@ -16,6 +14,6 @@ Aquí está el comentario que se acaba de publicar:
|
|||||||
Todo lo mejor,
|
Todo lo mejor,
|
||||||
%blogtitle%
|
%blogtitle%
|
||||||
|
|
||||||
MAIL;
|
';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
$lang ['comments'] ['mail'] = 'Bonjour %toname%,
|
||||||
$lang['comments']['mail'] = <<<MAIL
|
|
||||||
Bonjour %toname%,
|
|
||||||
|
|
||||||
"%fromname%" %frommail% a posté un commentaire sur un billet dont le titre est "%entrytitle%".
|
"%fromname%" %frommail% a posté un commentaire sur un billet dont le titre est "%entrytitle%".
|
||||||
|
|
||||||
@ -16,6 +14,6 @@ Voici le commentaire posté:
|
|||||||
Cordialement,
|
Cordialement,
|
||||||
%blogtitle%
|
%blogtitle%
|
||||||
|
|
||||||
MAIL;
|
';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -85,7 +85,7 @@
|
|||||||
|
|
||||||
$lang['admin']['entry']['commentlist'] =
|
$lang['admin']['entry']['commentlist'] =
|
||||||
array(
|
array(
|
||||||
'head' => "Commenti per l\'articolo",
|
'head' => "Commenti per l'articolo",
|
||||||
'descr' => 'Seleziona un commento da eliminare',
|
'descr' => 'Seleziona un commento da eliminare',
|
||||||
'sel' => 'Seleziona',
|
'sel' => 'Seleziona',
|
||||||
'content' => 'Contenuto',
|
'content' => 'Contenuto',
|
||||||
@ -112,7 +112,7 @@
|
|||||||
|
|
||||||
$lang['admin']['entry']['commedit'] =
|
$lang['admin']['entry']['commedit'] =
|
||||||
array(
|
array(
|
||||||
'head' => "Modifica commento per l\'articolo",
|
'head' => "Modifica commento per l'articolo",
|
||||||
'content' => 'Contenuto',
|
'content' => 'Contenuto',
|
||||||
'date' => 'Data',
|
'date' => 'Data',
|
||||||
'author' => 'Autore',
|
'author' => 'Autore',
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
'href="http://wiki.flatpress.org/doc:widgets" title="What is a Widget?">'.
|
'href="http://wiki.flatpress.org/doc:widgets" title="What is a Widget?">'.
|
||||||
'Widget</a> è un componente dinamico che può visualizzare dati e interagire con l\'utente.
|
'Widget</a> è un componente dinamico che può visualizzare dati e interagire con l\'utente.
|
||||||
Mentre i <strong>Temi</strong> sono fatti per cambiare l\'aspetto del blog, i Widgets
|
Mentre i <strong>Temi</strong> sono fatti per cambiare l\'aspetto del blog, i Widgets
|
||||||
ne <strong>estendono</strong>, cambiano l\'aspetto e le funzionalità.</p>
|
ne <strong>estendono</strong> le funzionalità e ne cambiano l\'aspetto.</p>
|
||||||
|
|
||||||
<p>I Widget possono essere trascinati in aree specifiche del tuo tema chiamate
|
<p>I Widget possono essere trascinati in aree specifiche del tuo tema chiamate
|
||||||
<strong>WidgetSets</strong>. Il numero e il nome dei WidgetSets possono variare a seconda
|
<strong>WidgetSets</strong>. Il numero e il nome dei WidgetSets possono variare a seconda
|
||||||
@ -54,7 +54,7 @@
|
|||||||
/* "raw" panel */
|
/* "raw" panel */
|
||||||
|
|
||||||
$lang['admin']['widgets']['raw'] = array(
|
$lang['admin']['widgets']['raw'] = array(
|
||||||
'head' => 'Gestione Widget (<em>raw editor</em>)',
|
'head' => 'Gestione Widget (<em>editor grezzo</em>)',
|
||||||
'descr' => 'Un <a class="hint" '.
|
'descr' => 'Un <a class="hint" '.
|
||||||
'href="http://wiki.flatpress.org/doc:plugins" title="What is a Widget?">'.
|
'href="http://wiki.flatpress.org/doc:plugins" title="What is a Widget?">'.
|
||||||
'Widget</a> è un elemento visuale di un <a class="hint" '.
|
'Widget</a> è un elemento visuale di un <a class="hint" '.
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
$lang ['comments'] ['mail'] = 'Ciao %toname%,
|
||||||
$lang['comments']['mail'] = <<<MAIL
|
|
||||||
Ciao %toname%,
|
|
||||||
|
|
||||||
"%fromname%" %frommail% ha inserito un commento all\'articolo intitolato "%entrytitle%".
|
"%fromname%" %frommail% ha inserito un commento all\'articolo intitolato "%entrytitle%".
|
||||||
|
|
||||||
@ -16,6 +14,6 @@ Questo è il commento che è stato appena postato:
|
|||||||
Saluti,
|
Saluti,
|
||||||
%blogtitle%
|
%blogtitle%
|
||||||
|
|
||||||
MAIL;
|
';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
$lang ['comments'] ['mail'] = '%toname% さま,
|
||||||
$lang['comments']['mail'] = <<<MAIL
|
|
||||||
%toname% さま,
|
|
||||||
|
|
||||||
"%fromname%" %frommail% さんが、次の記事にコメントを書きました。
|
"%fromname%" %frommail% さんが、次の記事にコメントを書きました。
|
||||||
|
|
||||||
@ -19,6 +17,6 @@
|
|||||||
以上,
|
以上,
|
||||||
%blogtitle%
|
%blogtitle%
|
||||||
|
|
||||||
MAIL;
|
';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
//Terminado 15 de fevereiro de 2020.
|
// Terminado 15 de fevereiro de 2020.
|
||||||
|
$lang ['comments'] ['mail'] = 'Querido(a) %toname%,
|
||||||
$lang['comments']['mail'] = <<<MAIL
|
|
||||||
Querido(a) %toname%,
|
|
||||||
|
|
||||||
"%fromname%" %frommail% acabou de publicar um comentário na entrada intitulada "%entrytitle%".
|
"%fromname%" %frommail% acabou de publicar um comentário na entrada intitulada "%entrytitle%".
|
||||||
|
|
||||||
@ -17,6 +15,6 @@ Aqui está o comentário que acabou de ser postado:
|
|||||||
Um abraço,
|
Um abraço,
|
||||||
%blogtitle%
|
%blogtitle%
|
||||||
|
|
||||||
MAIL;
|
';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<subtitle>{$flatpress.subtitle}</subtitle>
|
<subtitle>{$flatpress.subtitle}</subtitle>
|
||||||
<link href="{$smarty.const.BLOG_BASEURL}" />
|
<link href="{$smarty.const.BLOG_BASEURL}" />
|
||||||
<link rel="self" href="{$smarty.server.REQUEST_URI|escape}" />
|
<link rel="self" href="{$smarty.server.REQUEST_URI|escape}" />
|
||||||
<generator uri="http://www.flatpress.org/" version="{$flatpress.version}">
|
<generator uri="http://www.flatpress.org/" version="{$smarty.const.SYSTEM_VER}">
|
||||||
FlatPress
|
FlatPress
|
||||||
</generator>
|
</generator>
|
||||||
<rights> {$flatpress.author} {$smarty.now|date_format:'%Y'} </rights>
|
<rights> {$flatpress.author} {$smarty.now|date_format:'%Y'} </rights>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<title>{$flatpress.title} » {$subject}</title>
|
<title>{$flatpress.title} » {$subject}</title>
|
||||||
<link>{$the_comment_link}</link>
|
<link>{$the_comment_link}</link>
|
||||||
<description><![CDATA[{$flatpress.subtitle}]]></description>
|
<description><![CDATA[{$flatpress.subtitle}]]></description>
|
||||||
<copyright>Copyright {$smarty.now|date_format:"$Y"}, {$flatpress.author}</copyright>
|
<copyright>Copyright {'Y'|date}, {$flatpress.author}</copyright>
|
||||||
{*<managingEditor>{$flatpress.email} ({$flatpress.author})</managingEditor>*}
|
{*<managingEditor>{$flatpress.email} ({$flatpress.author})</managingEditor>*}
|
||||||
<language>{$fp_config.locale.lang}</language>
|
<language>{$fp_config.locale.lang}</language>
|
||||||
<atom:link rel="self" href="{'rss2'|theme_comments_feed_link:$id}" type="application/rss+xml" />
|
<atom:link rel="self" href="{'rss2'|theme_comments_feed_link:$id}" type="application/rss+xml" />
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
This blog is proudly powered by <a href="http://www.flatpress.org/">FlatPress</a>.
|
This blog is proudly powered by <a href="https://www.flatpress.org/">FlatPress</a>.
|
||||||
</p>
|
</p>
|
||||||
</div> <!-- end of #footer -->
|
</div> <!-- end of #footer -->
|
||||||
|
|
||||||
|
@ -129,10 +129,8 @@ function plugin_aaspam_comment_form() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// echoes the question and the form part
|
// echoes the question and the form part
|
||||||
echo <<<STR
|
echo '<p><label class="textlabel" for="aaspam">' . $lang ['plugin'] ['accessibleantispam'] ['prefix'] . ' <strong>' . $question . ' (*)</strong></label><br />
|
||||||
<p><label class="textlabel" for="aaspam">{$lang['plugin']['accessibleantispam']['prefix']} <strong>$question (*)</strong></label><br />
|
<input type="text" name="aaspam" id="aaspam" /></p>';
|
||||||
<input type="text" name="aaspam" id="aaspam" /></p>
|
|
||||||
STR;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
@ -17,14 +17,12 @@ function plugin_adminarea_widget() {
|
|||||||
|
|
||||||
if ($user = user_loggedin()) {
|
if ($user = user_loggedin()) {
|
||||||
$userid = $user ['userid'];
|
$userid = $user ['userid'];
|
||||||
$string = <<<END
|
$string = '<p>' . $lang ['plugin'] ['adminarea'] ['welcome'] . '<strong>' . $userid . '</strong>!</p>
|
||||||
<p>{$lang['plugin']['adminarea']['welcome']} <strong>{$userid}</strong>!</p>
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{$baseurl}admin.php">{$lang['plugin']['adminarea']['admin_panel']}</a></li>
|
<li><a href="' . $baseurl . 'admin.php">' . $lang ['plugin'] ['adminarea'] ['admin_panel'] . '</a></li>
|
||||||
<li><a href="{$baseurl}admin.php?p=entry&action=write">{$lang['plugin']['adminarea']['add_entry']}</a></li>
|
<li><a href="' . $baseurl . 'admin.php?p=entry&action=write">' . $lang ['plugin'] ['adminarea'] ['add_entry'] . '</a></li>
|
||||||
<li><a href="{$baseurl}login.php?do=logout">{$lang['plugin']['adminarea']['logout']}</a></li>
|
<li><a href="' . $baseurl . 'login.php?do=logout">' . $lang ['plugin'] ['adminarea'] ['logout'] . '</a></li>
|
||||||
</ul>
|
</ul>';
|
||||||
END;
|
|
||||||
} else
|
} else
|
||||||
$string = '<ul><li><a href="' . $baseurl . 'login.php">Login</a></li></ul>';
|
$string = '<ul><li><a href="' . $baseurl . 'login.php">Login</a></li></ul>';
|
||||||
|
|
||||||
@ -36,4 +34,4 @@ function plugin_adminarea_widget() {
|
|||||||
|
|
||||||
register_widget('adminarea', 'AdminArea', 'plugin_adminarea_widget');
|
register_widget('adminarea', 'AdminArea', 'plugin_adminarea_widget');
|
||||||
|
|
||||||
?>
|
?>
|
186
fp-plugins/commentcenter/lang/lang.cs-cz.php
Normal file
186
fp-plugins/commentcenter/lang/lang.cs-cz.php
Normal file
@ -0,0 +1,186 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$lang['admin']['entry']['submenu']['commentcenter']='Centrum komentářů';
|
||||||
|
$lang['admin']['entry']['commentcenter']=array(
|
||||||
|
# Header of the panel
|
||||||
|
'title'=>'Centrum komentářů',
|
||||||
|
'desc1'=>'Tento panel umožňuje zpravovat komentáře k tvému blogu.',
|
||||||
|
'desc2'=>'Zde můžeš dělat několik věcí:',
|
||||||
|
|
||||||
|
# Links
|
||||||
|
'lpolicies'=>'Nastavovat pravidla',
|
||||||
|
'lapprove'=>'Zobrazit blokované komentáře',
|
||||||
|
'lmanage'=>'Zpravovat komentáře',
|
||||||
|
'lconfig'=>'Nastavovat plugin',
|
||||||
|
|
||||||
|
# Policies
|
||||||
|
'policies'=>'Pravidla',
|
||||||
|
'desc_pol'=>'Zde můžeš nastavovat pravidla ke komentářům.',
|
||||||
|
'select'=>'Označit',
|
||||||
|
'criteria'=>'Kritéria',
|
||||||
|
'behavoir'=>'Chování',
|
||||||
|
'options'=>'Možnosti',
|
||||||
|
'entry'=>'Záznam',
|
||||||
|
'entries'=>'Záznamy',
|
||||||
|
'categories'=>'Kategorie',
|
||||||
|
'nopolicies'=>'Zde nejsou žádná pravidla.',
|
||||||
|
'all_entries'=>'Všechny záznamy',
|
||||||
|
'fol_entries'=>'Pravidla se použijí na následující položky:',
|
||||||
|
'fol_cats'=>'Tyto pravidla se použijí na položky v následujících kategoriích:',
|
||||||
|
'older'=>'Tyto pravidla se použijí na položky starší než %d dní.',
|
||||||
|
'allow'=>'Povolit komentáře',
|
||||||
|
'block'=>'Blokovat komentáře',
|
||||||
|
'approvation'=>'Komentáře je třeba schválit',
|
||||||
|
'up'=>'Posunout nahoru',
|
||||||
|
'down'=>'Posunout dolů',
|
||||||
|
'edit'=>'Editovat',
|
||||||
|
'delete'=>'Smazat',
|
||||||
|
'newpol'=>'Přidat nové pravidlo',
|
||||||
|
'del_selected'=>'Smazat označená pravidla',
|
||||||
|
'select_all'=>'Označit vše',
|
||||||
|
'deselect_all'=>'Zrušit označení',
|
||||||
|
|
||||||
|
# Configuration page
|
||||||
|
'configure'=>'Nastavit plugin',
|
||||||
|
'desc_conf'=>'Zde můžete upravit možnosti pluginu.',
|
||||||
|
'log_all'=>'Logovat blokované komentáře',
|
||||||
|
'log_all_long'=>'Zaškrtněte, pokud chcete protokolovat také komentáře, které jsou blokovány.',
|
||||||
|
'email_alert'=>'Upozornit na komentáře e-mailem',
|
||||||
|
'email_alert_long'=>'Zaškrtněte, pokud chcete být informováni emailem o komentáři ke schválení.',
|
||||||
|
'akismet'=>'Akismet',
|
||||||
|
'akismet_use'=>'Povolit Akismet',
|
||||||
|
'akismet_key'=>'Akismet klíč',
|
||||||
|
'akismet_key_long'=>'Služba Akismet vám poskytne klíč. Vložte jej sem.',
|
||||||
|
'akismet_url'=>'URL blogu',
|
||||||
|
'akismet_url_long'=>'Pro bezplatný Akismet byste měli používat pouze doménu. '.
|
||||||
|
'Toto pole můžete nechat prázdné, <code>%s</code> bude použito.',
|
||||||
|
'save_conf'=>'Uložit nastavení',
|
||||||
|
|
||||||
|
# Edit policy page
|
||||||
|
'apply_to'=>'Aplikovat',
|
||||||
|
'editpol'=>'Editovat pravidla',
|
||||||
|
'createpol'=>'Vytvořit pravidla',
|
||||||
|
'some_entries'=>'Nějaké záznamy',
|
||||||
|
'properties'=>'Záznam s určitými vlastnostmi',
|
||||||
|
'se_desc'=>'Když vyberete %s, vložte prosím záznamy, které chcete použít pro toto pravidlo.',
|
||||||
|
'se_fill'=>'Vyplňte pole s identifikací záznamu (<code>entryYYMMDD-HHMMSS</code>).',
|
||||||
|
'po_title'=>'Vlastnosti',
|
||||||
|
'po_desc'=>'Když vyberete %s, vyplňte prosím vlastnosti.',
|
||||||
|
'po_comp'=>'Pole nejsou povinná, ale musíte vyplnit alespoň jedno pravidlo, '.
|
||||||
|
'které bude použito na všechny záznamy.',
|
||||||
|
'po_time'=>'Nastavení času',
|
||||||
|
'po_older'=>'Použito pro záznamy starší než ',
|
||||||
|
'days'=>'dní.',
|
||||||
|
'save_policy'=>'Uložit pravidla',
|
||||||
|
|
||||||
|
# Delete policies page
|
||||||
|
'del_policies'=>'Smazat pravidla',
|
||||||
|
'del_descs'=>'Chystáte se smazat toto pravidlo: ',
|
||||||
|
'del_descm'=>'Chystáte se smazat tyto pravidla: ',
|
||||||
|
'sure'=>'Jste si jistý?',
|
||||||
|
'del_subs'=>'Ano, prosím smažte jej',
|
||||||
|
'del_subm'=>'Ano, prosím smažte je',
|
||||||
|
'del_cancel'=>'Ne, vrátit se zpět na panel',
|
||||||
|
|
||||||
|
# Approve comments page
|
||||||
|
'app_title'=>'Schválit komentáře',
|
||||||
|
'app_desc'=>'Zde můžete schválit komentáře.',
|
||||||
|
'app_date'=>'Datum',
|
||||||
|
'app_content'=>'Kommentář',
|
||||||
|
'app_author'=>'Autor',
|
||||||
|
'app_email'=>'Email',
|
||||||
|
'app_ip'=>'IP',
|
||||||
|
'app_actions'=>'Akce',
|
||||||
|
'app_publish'=>'Publikovat',
|
||||||
|
'app_delete'=>'Smazat',
|
||||||
|
'app_nocomms'=>'Zde není žádný komentář.',
|
||||||
|
'app_pselected'=>'Publikovat označené komentáře',
|
||||||
|
'app_dselected'=>'Vyjmout označené komentáře',
|
||||||
|
'app_other'=>'Ostatní komentáře',
|
||||||
|
'app_akismet'=>'Označit jako spam',
|
||||||
|
'app_spamdesc'=>'Tyto komentáře zablokoval Akismet.',
|
||||||
|
'app_hamsubmit'=>'Informovat Akismet pokud je zveřejníte.',
|
||||||
|
'app_pubnotham'=>'Publikujte je, ale nepředávejte je Akismet',
|
||||||
|
|
||||||
|
# Delete comments page
|
||||||
|
'delc_title'=>'Smazat komentáře',
|
||||||
|
'delc_descs'=>'Chystáte se smazat tento komentář: ',
|
||||||
|
'delc_descm'=>'Chystáte se smazat tyto komentáře: ',
|
||||||
|
|
||||||
|
# Manage comments page
|
||||||
|
'man_searcht'=>'Najít záznam',
|
||||||
|
'man_searchd'=>'Vložte id záznamu, u kterého chcete editovat komentáře.',
|
||||||
|
'man_search'=>'Najít',
|
||||||
|
'man_commfor'=>'Komentáře k %s',
|
||||||
|
'man_spam'=>'Odeslat jako spam do Akismet',
|
||||||
|
|
||||||
|
# The simple edit
|
||||||
|
'simple_pre'=>'Komentář k tomuto záznamu ',
|
||||||
|
'simple_1'=>'je povolen.',
|
||||||
|
'simple_0'=>'vyžaduje váš souhlas.',
|
||||||
|
'simple_-1'=>'je blokován.',
|
||||||
|
'simple_manage'=>'Spravovat komentáře k tomuto záznamu.',
|
||||||
|
'simple_edit'=>'Editovat pravidla',
|
||||||
|
|
||||||
|
# Akismet warnings
|
||||||
|
'akismet_errors'=>array(
|
||||||
|
-1=>'Akismet klíč je prázdný. Prosím vložte jej.',
|
||||||
|
-2=>'Nemůžeme se spojit s Akismet serverem.',
|
||||||
|
-3=>'Odpověď od Akismet nepřišla.',
|
||||||
|
-4=>'Akismet klíč je špatný.',
|
||||||
|
),
|
||||||
|
|
||||||
|
# Messages
|
||||||
|
'msgs'=>array(
|
||||||
|
1=>'Nastavení uloženo.',
|
||||||
|
-1=>'Při pokusu o uložení nastavení došlo k chybě.',
|
||||||
|
|
||||||
|
2=>'Pravidla uložena.',
|
||||||
|
-2=>'Při pokusu o uložení pravidel došlo k chybě (možná je špatné nastavení).',
|
||||||
|
|
||||||
|
3=>'Pravidla přesunuta.',
|
||||||
|
-3=>'Při pokusu o přesun pravidel došlo k chybě (nebo nemůže být přesunuto).',
|
||||||
|
|
||||||
|
4=>'Pravidla vyjmuta.',
|
||||||
|
-4=>'Při pokusu o vyjmutí pravidel došlo k chybě (nebo není vybráno žádné pravidlo).',
|
||||||
|
|
||||||
|
5=>'Komentář zveřejněn.',
|
||||||
|
-5=>'Při pokusu o zveřejnění komentáře došlo k chybě.',
|
||||||
|
|
||||||
|
6=>'Komentář vyjmut.',
|
||||||
|
-6=>'Při pokusu o vyjmutí komentáře došlo k chybě. (nebo není vybrán žádný komentář).',
|
||||||
|
|
||||||
|
7=>'Komentář odeslán.',
|
||||||
|
-7=>'Při pokusu o odeslání komentáře došlo k chybě.',
|
||||||
|
),
|
||||||
|
|
||||||
|
# Errors
|
||||||
|
'errors'=>array(
|
||||||
|
'pol_nonex'=>'Pravidlo které chcete upravit, neexistuje.',
|
||||||
|
'entry_nf'=>'Záznam který jste vybral neexistuje.',
|
||||||
|
),
|
||||||
|
);
|
||||||
|
$lang['plugin']['commentcenter']=array(
|
||||||
|
'akismet_error'=>'Je nám líto, ale máme technické potíže.',
|
||||||
|
'lock'=>'Komentáře k tomuto zýznamu jsou blokovány.',
|
||||||
|
'approvation'=>'Komentář byl uložen, ale správce jej musí před zobrazením schválit.',
|
||||||
|
|
||||||
|
# Mail for comments
|
||||||
|
'mail_subj'=>'Nový komentář ke schválení %s',
|
||||||
|
);
|
||||||
|
|
||||||
|
$lang['plugin']['commentcenter']['mail_text']=<<<MAIL
|
||||||
|
Vážený %toname%,
|
||||||
|
|
||||||
|
"%fromname%" %frommail% právě přidal komentář k záznamu s názvem "%entrytitle%"
|
||||||
|
ale před zobrazením je vyžadován váš souhlas.
|
||||||
|
|
||||||
|
Zde je komentář, který byl právě odeslán:
|
||||||
|
***************
|
||||||
|
%content%
|
||||||
|
***************
|
||||||
|
|
||||||
|
S pozdravem,
|
||||||
|
%blogtitle%
|
||||||
|
|
||||||
|
MAIL;
|
@ -1,177 +1,172 @@
|
|||||||
<?php
|
<?php
|
||||||
|
$lang ['admin'] ['entry'] ['submenu'] ['commentcenter'] = 'Comment Center';
|
||||||
|
$lang ['admin'] ['entry'] ['commentcenter'] = array(
|
||||||
|
// Header of the panel
|
||||||
|
'title' => 'Comment Center',
|
||||||
|
'desc1' => 'This panel allows you to manage the comments on your blog.',
|
||||||
|
'desc2' => 'Here you can do several things:',
|
||||||
|
|
||||||
$lang['admin']['entry']['submenu']['commentcenter']='Comment Center';
|
// Links
|
||||||
$lang['admin']['entry']['commentcenter']=array(
|
'lpolicies' => 'Manage the policies',
|
||||||
# Header of the panel
|
'lapprove' => 'Show blocked comments',
|
||||||
'title'=>'Comment Center',
|
'lmanage' => 'Manage comments',
|
||||||
'desc1'=>'This panel allows you to manage the comments on your blog.',
|
'lconfig' => 'Configure the plugin',
|
||||||
'desc2'=>'Here you can do several things:',
|
|
||||||
|
|
||||||
# Links
|
// Policies
|
||||||
'lpolicies'=>'Manage the policies',
|
'policies' => 'Policies',
|
||||||
'lapprove'=>'Show blocked comments',
|
'desc_pol' => 'Here you can edit the policies of comments.',
|
||||||
'lmanage'=>'Manage comments',
|
'select' => 'Select',
|
||||||
'lconfig'=>'Configure the plugin',
|
'criteria' => 'Criteria',
|
||||||
|
'behavoir' => 'Behavoir',
|
||||||
|
'options' => 'Options',
|
||||||
|
'entry' => 'Entry',
|
||||||
|
'entries' => 'Entries',
|
||||||
|
'categories' => 'Categories',
|
||||||
|
'nopolicies' => 'There isn\'t any policy.',
|
||||||
|
'all_entries' => 'All Entries',
|
||||||
|
'fol_entries' => 'The policy is applied to the following entries:',
|
||||||
|
'fol_cats' => 'The policy is applied to entries in the following categories:',
|
||||||
|
'older' => 'The policy is applied to entries older than %d day(s).',
|
||||||
|
'allow' => 'Allow to comment',
|
||||||
|
'block' => 'Block comments',
|
||||||
|
'approvation' => 'Comments need to be approved',
|
||||||
|
'up' => 'Move up',
|
||||||
|
'down' => 'Move down',
|
||||||
|
'edit' => 'Edit',
|
||||||
|
'delete' => 'Delete',
|
||||||
|
'newpol' => 'Add a new policy',
|
||||||
|
'del_selected' => 'Delete selected policy(ies)',
|
||||||
|
'select_all' => 'Select All',
|
||||||
|
'deselect_all' => 'Deselect All',
|
||||||
|
|
||||||
# Policies
|
// Configuration page
|
||||||
'policies'=>'Policies',
|
'configure' => 'Configure the plugin',
|
||||||
'desc_pol'=>'Here you can edit the policies of comments.',
|
'desc_conf' => 'Here you can modify the options of the plugin.',
|
||||||
'select'=>'Select',
|
'log_all' => 'Log blocked comments',
|
||||||
'criteria'=>'Criteria',
|
'log_all_long' => 'Check it if you want to log also comments that are blocked.',
|
||||||
'behavoir'=>'Behavoir',
|
'email_alert' => 'Notify comments via email',
|
||||||
'options'=>'Options',
|
'email_alert_long' => 'Check it if you want that when there is a comment to approve you want to be ' . 'informed via email.',
|
||||||
'entry'=>'Entry',
|
'akismet' => 'Akismet',
|
||||||
'entries'=>'Entries',
|
'akismet_use' => 'Enable Akismet check',
|
||||||
'categories'=>'Categories',
|
'akismet_key' => 'Akismet Key',
|
||||||
'nopolicies'=>'There isn\'t any policy.',
|
'akismet_key_long' => 'The Akismet service provide you a key to use it. Insert here.',
|
||||||
'all_entries'=>'All Entries',
|
'akismet_url' => 'Blog base URL for Akismet',
|
||||||
'fol_entries'=>'The policy is applied to the following entries:',
|
'akismet_url_long' => 'I think for Akismet free service you should use just a domain. ' . 'You can leave blank this field, <code>%s</code> will be used.',
|
||||||
'fol_cats'=>'The policy is applied to entries in the following categories:',
|
'save_conf' => 'Save Configuration',
|
||||||
'older'=>'The policy is applied to entries older than %d day(s).',
|
|
||||||
'allow'=>'Allow to comment',
|
|
||||||
'block'=>'Block comments',
|
|
||||||
'approvation'=>'Comments need to be approved',
|
|
||||||
'up'=>'Move up',
|
|
||||||
'down'=>'Move down',
|
|
||||||
'edit'=>'Edit',
|
|
||||||
'delete'=>'Delete',
|
|
||||||
'newpol'=>'Add a new policy',
|
|
||||||
'del_selected'=>'Delete selected policy(ies)',
|
|
||||||
'select_all'=>'Select All',
|
|
||||||
'deselect_all'=>'Deselect All',
|
|
||||||
|
|
||||||
# Configuration page
|
// Edit policy page
|
||||||
'configure'=>'Configure the plugin',
|
'apply_to' => 'Apply to',
|
||||||
'desc_conf'=>'Here you can modify the options of the plugin.',
|
'editpol' => 'Edit a policy',
|
||||||
'log_all'=>'Log blocked comments',
|
'createpol' => 'Create a policy',
|
||||||
'log_all_long'=>'Check it if you want to log also comments that are blocked.',
|
'some_entries' => 'Some Entries',
|
||||||
'email_alert'=>'Notify comments via email',
|
'properties' => 'Entry with certain properties',
|
||||||
'email_alert_long'=>'Check it if you want that when there is a comment to approve you want to be '.
|
'se_desc' => 'If you selected the %s option, please insert entries you want to apply to this policy.',
|
||||||
'informed via email.',
|
'se_fill' => 'Please fill the fields with the id of the entries (<code>entryYYMMDD-HHMMSS</code>).',
|
||||||
'akismet'=>'Akismet',
|
'po_title' => 'Properties',
|
||||||
'akismet_use'=>'Enable Akismet check',
|
'po_desc' => 'If you selected the %s option, please fill the properties.',
|
||||||
'akismet_key'=>'Akismet Key',
|
'po_comp' => 'The fields aren\'t compulsory but you must fill at least one or the policy ' . 'will apply on all entries.',
|
||||||
'akismet_key_long'=>'The Akismet service provide you a key to use it. Insert here.',
|
'po_time' => 'Time options',
|
||||||
'akismet_url'=>'Blog base URL for Akismet',
|
'po_older' => 'Apply to entries older than ',
|
||||||
'akismet_url_long'=>'I think for Akismet free service you should use just a domain. '.
|
'days' => 'days.',
|
||||||
'You can leave blank this field, <code>%s</code> will be used.',
|
'save_policy' => 'Save Policy',
|
||||||
'save_conf'=>'Save Configuration',
|
|
||||||
|
|
||||||
# Edit policy page
|
// Delete policies page
|
||||||
'apply_to'=>'Apply to',
|
'del_policies' => 'Delete Policies',
|
||||||
'editpol'=>'Edit a policy',
|
'del_descs' => 'You are going to delete this policy: ',
|
||||||
'createpol'=>'Create a policy',
|
'del_descm' => 'You are going to delete these policies: ',
|
||||||
'some_entries'=>'Some Entries',
|
'sure' => 'Are you sure?',
|
||||||
'properties'=>'Entry with certain properties',
|
'del_subs' => 'Yes, please delete it',
|
||||||
'se_desc'=>'If you selected the %s option, please insert entries you want to apply to this policy.',
|
'del_subm' => 'Yes, please delete them',
|
||||||
'se_fill'=>'Please fill the fields with the id of the entries (<code>entryYYMMDD-HHMMSS</code>).',
|
'del_cancel' => 'No, take me back to the panel',
|
||||||
'po_title'=>'Properties',
|
|
||||||
'po_desc'=>'If you selected the %s option, please fill the properties.',
|
|
||||||
'po_comp'=>'The fields aren\'t compulsory but you must fill at least one or the policy '.
|
|
||||||
'will apply on all entries.',
|
|
||||||
'po_time'=>'Time options',
|
|
||||||
'po_older'=>'Apply to entries older than ',
|
|
||||||
'days'=>'days.',
|
|
||||||
'save_policy'=>'Save Policy',
|
|
||||||
|
|
||||||
# Delete policies page
|
// Approve comments page
|
||||||
'del_policies'=>'Delete Policies',
|
'app_title' => 'Approve comment',
|
||||||
'del_descs'=>'You are going to delete this policy: ',
|
'app_desc' => 'Here you can approve comments.',
|
||||||
'del_descm'=>'You are going to delete these policies: ',
|
'app_date' => 'Date',
|
||||||
'sure'=>'Are you sure?',
|
'app_content' => 'Comment',
|
||||||
'del_subs'=>'Yes, please delete it',
|
'app_author' => 'Author',
|
||||||
'del_subm'=>'Yes, please delete them',
|
'app_email' => 'Email',
|
||||||
'del_cancel'=>'No, take me back to the panel',
|
'app_ip' => 'IP',
|
||||||
|
'app_actions' => 'Actions',
|
||||||
|
'app_publish' => 'Publish',
|
||||||
|
'app_delete' => 'Delete',
|
||||||
|
'app_nocomms' => 'There isn\'t any comment.',
|
||||||
|
'app_pselected' => 'Publish selected comment(s)',
|
||||||
|
'app_dselected' => 'Remove selected comment(s)',
|
||||||
|
'app_other' => 'Other Comments',
|
||||||
|
'app_akismet' => 'Signed as spam',
|
||||||
|
'app_spamdesc' => 'These comments were blocked by Akismet.',
|
||||||
|
'app_hamsubmit' => 'Submit to Akismet as ham when you publish them.',
|
||||||
|
'app_pubnotham' => 'Publish it but dont\'submit as ham',
|
||||||
|
|
||||||
# Approve comments page
|
// Delete comments page
|
||||||
'app_title'=>'Approve comment',
|
'delc_title' => 'Delete Comments',
|
||||||
'app_desc'=>'Here you can approve comments.',
|
'delc_descs' => 'You are going to delete this comment: ',
|
||||||
'app_date'=>'Date',
|
'delc_descm' => 'You are going to delete these comments: ',
|
||||||
'app_content'=>'Comment',
|
|
||||||
'app_author'=>'Author',
|
|
||||||
'app_email'=>'Email',
|
|
||||||
'app_ip'=>'IP',
|
|
||||||
'app_actions'=>'Actions',
|
|
||||||
'app_publish'=>'Publish',
|
|
||||||
'app_delete'=>'Delete',
|
|
||||||
'app_nocomms'=>'There isn\'t any comment.',
|
|
||||||
'app_pselected'=>'Publish selected comment(s)',
|
|
||||||
'app_dselected'=>'Remove selected comment(s)',
|
|
||||||
'app_other'=>'Other Comments',
|
|
||||||
'app_akismet'=>'Signed as spam',
|
|
||||||
'app_spamdesc'=>'These comments were blocked by Akismet.',
|
|
||||||
'app_hamsubmit'=>'Submit to Akismet as ham when you publish them.',
|
|
||||||
'app_pubnotham'=>'Publish it but dont\'submit as ham',
|
|
||||||
|
|
||||||
# Delete comments page
|
// Manage comments page
|
||||||
'delc_title'=>'Delete Comments',
|
'man_searcht' => 'Search an entry',
|
||||||
'delc_descs'=>'You are going to delete this comment: ',
|
'man_searchd' => 'Insert the id of the entry whose you want to manage comments.',
|
||||||
'delc_descm'=>'You are going to delete these comments: ',
|
'man_search' => 'Search',
|
||||||
|
'man_commfor' => 'Comments for %s',
|
||||||
|
'man_spam' => 'Submit as spam to Akismet',
|
||||||
|
|
||||||
# Manage comments page
|
// The simple edit
|
||||||
'man_searcht'=>'Search an entry',
|
'simple_pre' => 'Comments for this entry will ',
|
||||||
'man_searchd'=>'Insert the id of the entry whose you want to manage comments.',
|
'simple_1' => 'be allowed.',
|
||||||
'man_search'=>'Search',
|
'simple_0' => 'require your approval.',
|
||||||
'man_commfor'=>'Comments for %s',
|
'simple_-1' => 'be blocked.',
|
||||||
'man_spam'=>'Submit as spam to Akismet',
|
'simple_manage' => 'Manage the comments of this entry.',
|
||||||
|
'simple_edit' => 'Edit Policies',
|
||||||
|
|
||||||
# The simple edit
|
// Akismet warnings
|
||||||
'simple_pre'=>'Comments for this entry will ',
|
'akismet_errors' => array(
|
||||||
'simple_1'=>'be allowed.',
|
-1 => 'The Akismet key is empty. Please insert it.',
|
||||||
'simple_0'=>'require your approval.',
|
-2 => 'We couldn\'t call Akismet servers.',
|
||||||
'simple_-1'=>'be blocked.',
|
-3 => 'The Akismet response failed.',
|
||||||
'simple_manage'=>'Manage the comments of this entry.',
|
-4 => 'The Akismet key is not valid.'
|
||||||
'simple_edit'=>'Edit Policies',
|
|
||||||
|
|
||||||
# Akismet warnings
|
|
||||||
'akismet_errors'=>array(
|
|
||||||
-1=>'The Akismet key is empty. Please insert it.',
|
|
||||||
-2=>'We couldn\'t call Akismet servers.',
|
|
||||||
-3=>'The Akismet response failed.',
|
|
||||||
-4=>'The Akismet key is not valid.',
|
|
||||||
),
|
),
|
||||||
|
|
||||||
# Messages
|
// Messages
|
||||||
'msgs'=>array(
|
'msgs' => array(
|
||||||
1=>'Configuration saved.',
|
1 => 'Configuration saved.',
|
||||||
-1=>'An error occurred while trying to save the configuration.',
|
-1 => 'An error occurred while trying to save the configuration.',
|
||||||
|
|
||||||
2=>'Policy saved.',
|
2 => 'Policy saved.',
|
||||||
-2=>'An error occurred while trying to save the policy (maybe your settings are wrong).',
|
-2 => 'An error occurred while trying to save the policy (maybe your settings are wrong).',
|
||||||
|
|
||||||
3=>'Policy moved.',
|
3 => 'Policy moved.',
|
||||||
-3=>'An error occurred while trying to move the policy (or it can\'t be moved).',
|
-3 => 'An error occurred while trying to move the policy (or it can\'t be moved).',
|
||||||
|
|
||||||
4=>'Policy(ies) removed.',
|
4 => 'Policy(ies) removed.',
|
||||||
-4=>'An error occurred while trying to remove the policy(ies) (or you haven\'t selected any policy).',
|
-4 => 'An error occurred while trying to remove the policy(ies) (or you haven\'t selected any policy).',
|
||||||
|
|
||||||
5=>'Comment(s) published.',
|
5 => 'Comment(s) published.',
|
||||||
-5=>'An error occurred while trying to publish the comment(s).',
|
-5 => 'An error occurred while trying to publish the comment(s).',
|
||||||
|
|
||||||
6=>'Comment(s) removed.',
|
6 => 'Comment(s) removed.',
|
||||||
-6=>'An error occurred while trying to remove the comment(s) (or you haven\'t selected any comment).',
|
-6 => 'An error occurred while trying to remove the comment(s) (or you haven\'t selected any comment).',
|
||||||
|
|
||||||
7=>'Comment submitted.',
|
7 => 'Comment submitted.',
|
||||||
-7=>'An error occurred while trying to submit the comment.',
|
-7 => 'An error occurred while trying to submit the comment.'
|
||||||
),
|
),
|
||||||
|
|
||||||
# Errors
|
// Errors
|
||||||
'errors'=>array(
|
'errors' => array(
|
||||||
'pol_nonex'=>'The policy you want to edit does not exist.',
|
'pol_nonex' => 'The policy you want to edit does not exist.',
|
||||||
'entry_nf'=>'The entry you have selected does not exist.',
|
'entry_nf' => 'The entry you have selected does not exist.'
|
||||||
),
|
)
|
||||||
);
|
);
|
||||||
$lang['plugin']['commentcenter']=array(
|
$lang ['plugin'] ['commentcenter'] = array(
|
||||||
'akismet_error'=>'Sorry, we\'re encountering technical difficulties.',
|
'akismet_error' => 'Sorry, we\'re encountering technical difficulties.',
|
||||||
'lock'=>'Comments for this entry are blocked, sorry.',
|
'lock' => 'Comments for this entry are blocked, sorry.',
|
||||||
'approvation'=>'The comments has been saved but the Administrator must approve it before showing it.',
|
'approvation' => 'The comments has been saved but the Administrator must approve it before showing it.',
|
||||||
|
|
||||||
# Mail for comments
|
// Mail for comments
|
||||||
'mail_subj'=>'New comment to approve on %s',
|
'mail_subj' => 'New comment to approve on %s'
|
||||||
);
|
);
|
||||||
|
|
||||||
$lang['plugin']['commentcenter']['mail_text']=<<<MAIL
|
$lang ['plugin'] ['commentcenter'] ['mail_text'] = 'Dear %toname%,
|
||||||
Dear %toname%,
|
|
||||||
|
|
||||||
"%fromname%" %frommail% has just posted a comment to the entry entitled "%entrytitle%"
|
"%fromname%" %frommail% has just posted a comment to the entry entitled "%entrytitle%"
|
||||||
but it need your approval before showing it.
|
but it need your approval before showing it.
|
||||||
@ -184,4 +179,4 @@ Here is the comment that has just been posted:
|
|||||||
All the best,
|
All the best,
|
||||||
%blogtitle%
|
%blogtitle%
|
||||||
|
|
||||||
MAIL;
|
';
|
||||||
|
@ -1,177 +1,172 @@
|
|||||||
<?php
|
<?php
|
||||||
|
$lang ['admin'] ['entry'] ['submenu'] ['commentcenter'] = 'Centro commenti';
|
||||||
|
$lang ['admin'] ['entry'] ['commentcenter'] = array(
|
||||||
|
// Header of the panel
|
||||||
|
'title' => 'Centro commenti',
|
||||||
|
'desc1' => 'Questo pannello ti consente di gestire i commenti del tuo blog.',
|
||||||
|
'desc2' => 'Qui puoi fare numerose cose:',
|
||||||
|
|
||||||
$lang['admin']['entry']['submenu']['commentcenter']='Centro commenti';
|
// Links
|
||||||
$lang['admin']['entry']['commentcenter']=array(
|
'lpolicies' => 'Gestire le regole',
|
||||||
# Header of the panel
|
'lapprove' => 'Elencare i commenti bloccati',
|
||||||
'title'=>'Centro commenti',
|
'lmanage' => 'Gestire i commenti',
|
||||||
'desc1'=>'Questo pannello ti consente di gestire i commenti del tuo blog.',
|
'lconfig' => 'Configurare il plugin',
|
||||||
'desc2'=>'Qui puoi fare numerose cose:',
|
|
||||||
|
|
||||||
# Links
|
// Policies
|
||||||
'lpolicies'=>'Gestire le regole',
|
'policies' => 'Regole',
|
||||||
'lapprove'=>'Elencare i commenti bloccati',
|
'desc_pol' => 'Qui puoi modificare le regole sui commenti.',
|
||||||
'lmanage'=>'Gestire i commenti',
|
'select' => 'Seleziona',
|
||||||
'lconfig'=>'Configurare il plugin',
|
'criteria' => 'Criteri',
|
||||||
|
'behavoir' => 'Comportamento',
|
||||||
|
'options' => 'Opzioni',
|
||||||
|
'entry' => 'Articolo',
|
||||||
|
'entries' => 'Articoli',
|
||||||
|
'categories' => 'Categorie',
|
||||||
|
'nopolicies' => 'Non c\'è nessuna regola.',
|
||||||
|
'all_entries' => 'Tutti i post',
|
||||||
|
'fol_entries' => 'La regola è applicata ai seguenti post:',
|
||||||
|
'fol_cats' => 'La regola è applicata ai post nelle seguenti categorie:',
|
||||||
|
'older' => 'La regola è applicata ai post più vecchi di %d giorno/i.',
|
||||||
|
'allow' => 'Permetti di commentare',
|
||||||
|
'block' => 'Blocca i commenti',
|
||||||
|
'approvation' => 'I commenti devono essere approvati',
|
||||||
|
'up' => 'Sposta in su',
|
||||||
|
'down' => 'Sposta in giù',
|
||||||
|
'edit' => 'Modifica',
|
||||||
|
'delete' => 'Elimina',
|
||||||
|
'newpol' => 'Aggiungi una nuova regola',
|
||||||
|
'del_selected' => 'Elimina le regole selezionate',
|
||||||
|
'select_all' => 'Seleziona tutto',
|
||||||
|
'deselect_all' => 'Deseleziona tutto',
|
||||||
|
|
||||||
# Policies
|
// Configuration page
|
||||||
'policies'=>'Regole',
|
'configure' => 'Configura il plugin',
|
||||||
'desc_pol'=>'Qui puoi modificare le regole sui commenti.',
|
'desc_conf' => 'Qui puoi modificare le impostazioni del plugin.',
|
||||||
'select'=>'Seleziona',
|
'log_all' => 'Registra i commenti bloccati',
|
||||||
'criteria'=>'Criteri',
|
'log_all_long' => 'Selezionala se vuoi registrare anche i commenti che sono bloccati.',
|
||||||
'behavoir'=>'Comportamento',
|
'email_alert' => 'Notifica commenti via email',
|
||||||
'options'=>'Opzioni',
|
'email_alert_long' => 'Selezionala se vuoi essere informato via email quando c\'è un nuovo commento ' . 'da approvare.',
|
||||||
'entry'=>'Articolo',
|
'akismet' => 'Akismet',
|
||||||
'entries'=>'Articoli',
|
'akismet_use' => 'Abilita il controllo di Akismet',
|
||||||
'categories'=>'Categorie',
|
'akismet_key' => 'Chiave di Akismet',
|
||||||
'nopolicies'=>'Non c\'è nessuna regola.',
|
'akismet_key_long' => 'Per usare Akismet ti viene fornita una chiave. Inseriscila qui.',
|
||||||
'all_entries'=>'Tutti i post',
|
'akismet_url' => 'Indirizzo di base per Akismet',
|
||||||
'fol_entries'=>'La regola è applicata ai seguenti post:',
|
'akismet_url_long' => 'Penso che per il servizio gratuito di Akismet si possa usare un solo indirizzo. ' . 'Puoi anche lasciare vuoto questo campo, al suo posto si utilizzerà <code>%s</code>.',
|
||||||
'fol_cats'=>'La regola è applicata ai post nelle seguenti categorie:',
|
'save_conf' => 'Salva configurazione',
|
||||||
'older'=>'La regola è applicata ai post più vecchi di %d giorno/i.',
|
|
||||||
'allow'=>'Permetti di commentare',
|
|
||||||
'block'=>'Blocca i commenti',
|
|
||||||
'approvation'=>'I commenti devono essere approvati',
|
|
||||||
'up'=>'Sposta in su',
|
|
||||||
'down'=>'Sposta in giù',
|
|
||||||
'edit'=>'Modifica',
|
|
||||||
'delete'=>'Elimina',
|
|
||||||
'newpol'=>'Aggiungi una nuova regola',
|
|
||||||
'del_selected'=>'Elimina le regole selezionate',
|
|
||||||
'select_all'=>'Seleziona tutto',
|
|
||||||
'deselect_all'=>'Deseleziona tutto',
|
|
||||||
|
|
||||||
# Configuration page
|
// Edit policy page
|
||||||
'configure'=>'Configura il plugin',
|
'apply_to' => 'Applica a',
|
||||||
'desc_conf'=>'Qui puoi modificare le impostazioni del plugin.',
|
'editpol' => 'Modifica una regola',
|
||||||
'log_all'=>'Registra i commenti bloccati',
|
'createpol' => 'Crea una regola',
|
||||||
'log_all_long'=>'Selezionala se vuoi registrare anche i commenti che sono bloccati.',
|
'some_entries' => 'Alcuni articoli',
|
||||||
'email_alert'=>'Notifica commenti via email',
|
'properties' => 'Articoli con precise caratteristiche',
|
||||||
'email_alert_long'=>'Selezionala se vuoi essere informato via email quando c\'è un nuovo commento '.
|
'se_desc' => 'Se hai selezionato l\'opzione %s, per favore inserisci gli articoli ai quali la vuoi applicare.',
|
||||||
'da approvare.',
|
'se_fill' => 'Per favore riempi i campi con gli id degli articoli (<code>entryYYMMDD-HHMMSS</code>).',
|
||||||
'akismet'=>'Akismet',
|
'po_title' => 'Caratteristiche',
|
||||||
'akismet_use'=>'Abilita il controllo di Akismet',
|
'po_desc' => 'Se hai selezionato l\'opzione %s, per seleziona le caratteristiche.',
|
||||||
'akismet_key'=>'Chiave di Akismet',
|
'po_comp' => 'I campi non sono obbligatori ma ne devi selezionare almeno uno, altrimenti la regola ' . 'sarà applicata a tutti gli articoli.',
|
||||||
'akismet_key_long'=>'Per usare Akismet ti viene fornita una chiave. Inseriscila qui.',
|
'po_time' => 'Opzioni sulle date',
|
||||||
'akismet_url'=>'Indirizzo di base per Akismet',
|
'po_older' => 'Applica agli articoli più vecchi di ',
|
||||||
'akismet_url_long'=>'Penso che per il servizio gratuito di Akismet si possa usare un solo indirizzo. '.
|
'days' => 'giorni.',
|
||||||
'Puoi anche lasciare vuoto questo campo, al suo posto si utilizzerà <code>%s</code>.',
|
'save_policy' => 'Salva regola',
|
||||||
'save_conf'=>'Salva configurazione',
|
|
||||||
|
|
||||||
# Edit policy page
|
// Delete policies page
|
||||||
'apply_to'=>'Applica a',
|
'del_policies' => 'Elimina regole',
|
||||||
'editpol'=>'Modifica una regola',
|
'del_descs' => 'Stai per eliminare la seguente regola: ',
|
||||||
'createpol'=>'Crea una regola',
|
'del_descm' => 'Stai per eliminare la seguenti regola: ',
|
||||||
'some_entries'=>'Alcuni post',
|
'sure' => 'Sei sicuro?',
|
||||||
'properties'=>'Post con precise caratteristiche',
|
'del_subs' => 'Sì, continua l\'eliminazione',
|
||||||
'se_desc'=>'Se hai selezionato l\'opzione %s, per favore inserisci i post a cui la vuoi applicare.',
|
'del_subm' => 'Sì, continua l\'eliminazione',
|
||||||
'se_fill'=>'Per favore riempi i campi con gli id dei post (<code>entryYYMMDD-HHMMSS</code>).',
|
'del_cancel' => 'No, riportami al pannello',
|
||||||
'po_title'=>'Caratteristiche',
|
|
||||||
'po_desc'=>'Se hai selezionato l\'opzione %s, per seleziona le caratteristiche.',
|
|
||||||
'po_comp'=>'I campi non sono obbligatori ma ne devi selezionare almeno uno, altrimenti la regola '.
|
|
||||||
'sarà applicata a tutti i post.',
|
|
||||||
'po_time'=>'Opzioni sulle date',
|
|
||||||
'po_older'=>'Applica ai post più vecchi di ',
|
|
||||||
'days'=>'giorni.',
|
|
||||||
'save_policy'=>'Salva regola',
|
|
||||||
|
|
||||||
# Delete policies page
|
// Approve comments page
|
||||||
'del_policies'=>'Elimina regole',
|
'app_title' => 'Approva commenti',
|
||||||
'del_descs'=>'Stai per eliminare la seguente regola: ',
|
'app_desc' => 'Qui puoi approvare i commenti.',
|
||||||
'del_descm'=>'Stai per eliminare la seguenti regoli: ',
|
'app_date' => 'Data',
|
||||||
'sure'=>'Sei sicuro?',
|
'app_content' => 'Commento',
|
||||||
'del_subs'=>'Sì, continua l\'eliminazione',
|
'app_author' => 'Autore',
|
||||||
'del_subm'=>'Sì, continua l\'eliminazione',
|
'app_email' => 'Email',
|
||||||
'del_cancel'=>'No, riportami al pannello',
|
'app_ip' => 'IP',
|
||||||
|
'app_actions' => 'Azioni',
|
||||||
|
'app_publish' => 'Pubblica',
|
||||||
|
'app_delete' => 'Elimina',
|
||||||
|
'app_nocomms' => 'Non c\'è nessun commento.',
|
||||||
|
'app_pselected' => 'Pubblica i commenti selezionati',
|
||||||
|
'app_dselected' => 'Elimina i commenti selezionati',
|
||||||
|
'app_other' => 'Alti Commenti',
|
||||||
|
'app_akismet' => 'Segnalati come spam',
|
||||||
|
'app_spamdesc' => 'Questi commenti sono stati bloccati da Akismet.',
|
||||||
|
'app_hamsubmit' => 'Inviali ad Akismet come ham quando li pubblichi.',
|
||||||
|
'app_pubnotham' => 'Pubblica senza inviarlo come ham',
|
||||||
|
|
||||||
# Approve comments page
|
// Delete comments page
|
||||||
'app_title'=>'Approva commenti',
|
'delc_title' => 'Elimina Commenti',
|
||||||
'app_desc'=>'Qui puoi approvare i commenti.',
|
'delc_descs' => 'Stai per eliminare questo commento: ',
|
||||||
'app_date'=>'Data',
|
'delc_descm' => 'Stai per eliminare questi commenti: ',
|
||||||
'app_content'=>'Commento',
|
|
||||||
'app_author'=>'Autore',
|
|
||||||
'app_email'=>'Email',
|
|
||||||
'app_ip'=>'IP',
|
|
||||||
'app_actions'=>'Azioni',
|
|
||||||
'app_publish'=>'Pubblica',
|
|
||||||
'app_delete'=>'Elimina',
|
|
||||||
'app_nocomms'=>'Non c\'è nessun commento.',
|
|
||||||
'app_pselected'=>'Pubblica i commenti selezionati',
|
|
||||||
'app_dselected'=>'Elimina i commenti selezionati',
|
|
||||||
'app_other'=>'Alti Commenti',
|
|
||||||
'app_akismet'=>'Segnalati come spam',
|
|
||||||
'app_spamdesc'=>'Questi commenti sono stati bloccati da Akismet.',
|
|
||||||
'app_hamsubmit'=>'Inviali ad Akismet come ham quando li pubblichi.',
|
|
||||||
'app_pubnotham'=>'Pubblica senza inviarlo come ham',
|
|
||||||
|
|
||||||
# Delete comments page
|
// Manage comments page
|
||||||
'delc_title'=>'Elimina Commenti',
|
'man_searcht' => 'Cerca un post',
|
||||||
'delc_descs'=>'Stai per eliminare questo commento: ',
|
'man_searchd' => 'Inserisci l\'id dell\'articolo di cui vuoi gestire i commenti.',
|
||||||
'delc_descm'=>'Stai per eliminare questi commenti: ',
|
'man_search' => 'Cerca',
|
||||||
|
'man_commfor' => 'Commenti di %s',
|
||||||
|
'man_spam' => 'Segnala come spam ad Akismet',
|
||||||
|
|
||||||
# Manage comments page
|
// The simple edit
|
||||||
'man_searcht'=>'Cerca un post',
|
'simple_pre' => 'In questo articolo i commenti ',
|
||||||
'man_searchd'=>'Inserisci l\'id del post di cui vuoi gestire i commenti.',
|
'simple_1' => 'sono ammessi.',
|
||||||
'man_search'=>'Cerca',
|
'simple_0' => 'richiedono la tua approvazione.',
|
||||||
'man_commfor'=>'Commenti di %s',
|
'simple_-1' => 'sono bloccati.',
|
||||||
'man_spam'=>'Segnala come spam ad Akismet',
|
'simple_manage' => 'Gestisci i commenti di questo articolo.',
|
||||||
|
'simple_edit' => 'Modifica le regole',
|
||||||
|
|
||||||
# The simple edit
|
// Akismet warnings
|
||||||
'simple_pre'=>'In questo post i commenti ',
|
'akismet_errors' => array(
|
||||||
'simple_1'=>'sono ammessi.',
|
-1 => 'La chiave di Akismet è vuota. Per favore inseriscila.',
|
||||||
'simple_0'=>'richiedono la tua approvazione.',
|
-2 => 'Non abbiamo potuto chiamare i server di Akismet.',
|
||||||
'simple_-1'=>'sono bloccati.',
|
-3 => 'La risposta di Akismet è fallita.',
|
||||||
'simple_manage'=>'Gestisci i commenti di questo post.',
|
-4 => 'La chiave di Akismet non è valida.'
|
||||||
'simple_edit'=>'Modifica le regole',
|
|
||||||
|
|
||||||
# Akismet warnings
|
|
||||||
'akismet_errors'=>array(
|
|
||||||
-1=>'La chiave di Akismet è vuota. Per favore inseriscila.',
|
|
||||||
-2=>'Non abbiamo potuto chiamare i server di Akismet.',
|
|
||||||
-3=>'La risposta di Akismet è fallita.',
|
|
||||||
-4=>'La chiave di Akismet non è valida.',
|
|
||||||
),
|
),
|
||||||
|
|
||||||
# Messages
|
// Messages
|
||||||
'msgs'=>array(
|
'msgs' => array(
|
||||||
1=>'Configurazione salvata.',
|
1 => 'Configurazione salvata.',
|
||||||
-1=>'Si è verificato un errore durante il salvataggio della configurazione.',
|
-1 => 'Si è verificato un errore durante il salvataggio della configurazione.',
|
||||||
|
|
||||||
2=>'Regola salvata.',
|
2 => 'Regola salvata.',
|
||||||
-2=>'Si è verificato un errore durante il salvataggio della regola (forse le tue opzioni sono scorrette).',
|
-2 => 'Si è verificato un errore durante il salvataggio della regola (forse le tue opzioni sono scorrette).',
|
||||||
|
|
||||||
3=>'Regola spostata.',
|
3 => 'Regola spostata.',
|
||||||
-3=>'Si è verificato un errore nello spostamento della regola (o non la si può muovere).',
|
-3 => 'Si è verificato un errore nello spostamento della regola (o non la si può muovere).',
|
||||||
|
|
||||||
4=>'Regole rimosse.',
|
4 => 'Regole rimosse.',
|
||||||
-4=>'Si è verificato un errore durante la rimozione delle regole (o non hai selezionato nessuna regola).',
|
-4 => 'Si è verificato un errore durante la rimozione delle regole (o non hai selezionato nessuna regola).',
|
||||||
|
|
||||||
5=>'Commenti pubblicati.',
|
5 => 'Commenti pubblicati.',
|
||||||
-5=>'Si è verificato un errore durante la pubblicazione del commento.',
|
-5 => 'Si è verificato un errore durante la pubblicazione del commento.',
|
||||||
|
|
||||||
6=>'Commenti rimossi.',
|
6 => 'Commenti rimossi.',
|
||||||
-6=>'Si è verificato un errore durante la rimozione dei commenti (o non hai selezionato nessun commento).',
|
-6 => 'Si è verificato un errore durante la rimozione dei commenti (o non hai selezionato nessun commento).',
|
||||||
|
|
||||||
7=>'Commento segnalato.',
|
7 => 'Commento segnalato.',
|
||||||
-7=>'Si è verificato un errore durante la segnalazione del commento.',
|
-7 => 'Si è verificato un errore durante la segnalazione del commento.'
|
||||||
),
|
),
|
||||||
|
|
||||||
# Errors
|
// Errors
|
||||||
'errors'=>array(
|
'errors' => array(
|
||||||
'pol_nonex'=>'La regola che vuoi modificare non esiste.',
|
'pol_nonex' => 'La regola che vuoi modificare non esiste.',
|
||||||
'entry_nf'=>'Il post da te selezionato non esiste.',
|
'entry_nf' => 'L\'articolo da te selezionato non esiste.'
|
||||||
),
|
)
|
||||||
);
|
);
|
||||||
$lang['plugin']['commentcenter']=array(
|
$lang ['plugin'] ['commentcenter'] = array(
|
||||||
'akismet_error'=>'Akismet ha rilevato il tuo commento come SPAM.',
|
'akismet_error' => 'Akismet ha rilevato il tuo commento come SPAM.',
|
||||||
'lock'=>'Siamo spiacenti ma i commenti per questo post sono chiusi.',
|
'lock' => 'Siamo spiacenti ma i commenti per questo articolo sono chiusi.',
|
||||||
'approvation'=>'Il commento è stato salvato ma l\'Amministratore lo deve approvare prima di farlo vedere.',
|
'approvation' => 'Il commento è stato salvato ma l\'Amministratore lo deve approvare prima di farlo vedere.',
|
||||||
|
|
||||||
# Mail for comments
|
// Mail for comments
|
||||||
'mail_subj'=>'Nuovo commento da approvare su %s',
|
'mail_subj' => 'Nuovo commento da approvare su %s'
|
||||||
);
|
);
|
||||||
|
|
||||||
$lang['plugin']['commentcenter']['mail_text']=<<<MAIL
|
$lang ['plugin'] ['commentcenter'] ['mail_text'] = 'Caro %toname%,
|
||||||
Caro %toname%,
|
|
||||||
|
|
||||||
"%fromname%" %frommail% ha appena postato un commento nel post intitolato "%entrytitle%"
|
"%fromname%" %frommail% ha appena postato un commento nel post intitolato "%entrytitle%"
|
||||||
ma tu devi approvarlo.
|
ma tu devi approvarlo.
|
||||||
@ -184,4 +179,4 @@ Questo è il suo contenuto:
|
|||||||
Cordiali saluti,
|
Cordiali saluti,
|
||||||
%blogtitle%
|
%blogtitle%
|
||||||
|
|
||||||
MAIL;
|
';
|
||||||
|
@ -333,6 +333,10 @@ class plugin_commentcenter {
|
|||||||
*/
|
*/
|
||||||
function behavoirFromPolicies($entry, $cats = array()) {
|
function behavoirFromPolicies($entry, $cats = array()) {
|
||||||
$date = date_from_id($entry);
|
$date = date_from_id($entry);
|
||||||
|
// check if $date is in expected format
|
||||||
|
if (!array_key_exists('time', $date)) {
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
$time = $date ['time'];
|
$time = $date ['time'];
|
||||||
$return = 1;
|
$return = 1;
|
||||||
$pols = &$this->policies;
|
$pols = &$this->policies;
|
||||||
|
@ -13,12 +13,11 @@ add_action('wp_head', 'plugin_jquery_head', 0);
|
|||||||
|
|
||||||
function plugin_jquery_head() {
|
function plugin_jquery_head() {
|
||||||
$pdir = plugin_geturl('jquery');
|
$pdir = plugin_geturl('jquery');
|
||||||
echo <<<JSUTILS
|
echo '
|
||||||
<!-- start of jsUtils -->
|
<!-- start of jsUtils -->
|
||||||
<script type="text/javascript" src="{$pdir}res/jquery/3.5.1/jquery-3.5.1.min.js"></script>
|
<script type="text/javascript" src="' . $pdir . 'res/jquery/3.5.1/jquery-3.5.1.min.js"></script>
|
||||||
<script type="text/javascript" src="{$pdir}res/jqueryui/1.12.1/jquery-ui.min.js"></script>
|
<script type="text/javascript" src="' . $pdir . 'res/jqueryui/1.12.1/jquery-ui.min.js"></script>
|
||||||
<!-- end of jsUtils -->
|
<!-- end of jsUtils -->';
|
||||||
JSUTILS;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
@ -31,6 +31,8 @@ function plugin_lastcomments_widget() {
|
|||||||
// they're located under plugin.PLUGINNAME/lang/LANGID/
|
// they're located under plugin.PLUGINNAME/lang/LANGID/
|
||||||
$lang = lang_load('plugin:lastcomments');
|
$lang = lang_load('plugin:lastcomments');
|
||||||
|
|
||||||
|
$update = false;
|
||||||
|
|
||||||
if ($count = count($list)) {
|
if ($count = count($list)) {
|
||||||
while ($arr = array_pop($list)) {
|
while ($arr = array_pop($list)) {
|
||||||
theme_comments_filters($arr, $id);
|
theme_comments_filters($arr, $id);
|
||||||
|
@ -18,21 +18,19 @@ function plugin_lightbox2_setup() {
|
|||||||
|
|
||||||
function plugin_lightbox2_head() {
|
function plugin_lightbox2_head() {
|
||||||
$pdir = plugin_geturl('lightbox2');
|
$pdir = plugin_geturl('lightbox2');
|
||||||
echo <<<LBOXHEAD
|
echo '
|
||||||
<!-- start of lightbox -->
|
<!-- start of lightbox -->
|
||||||
<link rel="stylesheet" type="text/css" href="{$pdir}res/slimbox2.css" />
|
<link rel="stylesheet" type="text/css" href="' . $pdir . 'res/slimbox2.css" />
|
||||||
<!-- end of lightbox -->
|
<!-- end of lightbox -->';
|
||||||
LBOXHEAD;
|
|
||||||
}
|
}
|
||||||
add_action('wp_head', 'plugin_lightbox2_head');
|
add_action('wp_head', 'plugin_lightbox2_head');
|
||||||
|
|
||||||
function plugin_lightbox2_footer() {
|
function plugin_lightbox2_footer() {
|
||||||
$pdir = plugin_geturl('lightbox2');
|
$pdir = plugin_geturl('lightbox2');
|
||||||
echo <<<LBOXHEAD
|
echo '
|
||||||
<!-- start of lightbox -->
|
<!-- start of lightbox -->
|
||||||
<script type="text/javascript" src="{$pdir}res/slimbox2.js"></script>
|
<script type="text/javascript" src="' . $pdir . 'res/slimbox2.js"></script>
|
||||||
<!-- end of lightbox -->
|
<!-- end of lightbox -->';
|
||||||
LBOXHEAD;
|
|
||||||
}
|
}
|
||||||
add_action('wp_footer', 'plugin_lightbox2_footer');
|
add_action('wp_footer', 'plugin_lightbox2_footer');
|
||||||
|
|
||||||
@ -42,4 +40,3 @@ function plugin_lightbox2_hook($popup, $abspath) {
|
|||||||
return $lightbox_rel ? "rel=\"lightbox[$lightbox_rel]\"" : ' rel="lightbox"';
|
return $lightbox_rel ? "rel=\"lightbox[$lightbox_rel]\"" : ' rel="lightbox"';
|
||||||
}
|
}
|
||||||
add_action('bbcode_img_popup', 'plugin_lightbox2_hook', 5, 2);
|
add_action('bbcode_img_popup', 'plugin_lightbox2_hook', 5, 2);
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
'nofiles' => 'Keine Mediendaten vorhanden.',
|
'nofiles' => 'Keine Mediendaten vorhanden.',
|
||||||
'loadfile' => 'Datei/en hochladen',
|
'loadfile' => 'Datei/en hochladen',
|
||||||
|
|
||||||
'seòected' => 'Ausgewählt',
|
'selected' => 'Ausgewählt',
|
||||||
'selectaction' => '-- auswahl --',
|
'selectaction' => '-- auswahl --',
|
||||||
'addtogallery' => 'Zur Gallery hinzufügen',
|
'addtogallery' => 'Zur Gallery hinzufügen',
|
||||||
'newgallery' => 'Neue Gallery',
|
'newgallery' => 'Neue Gallery',
|
||||||
|
@ -7,7 +7,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['prettyurls'] = 'PrettyURLs Config';
|
|||||||
$lang ['admin'] ['plugin'] ['prettyurls'] = array(
|
$lang ['admin'] ['plugin'] ['prettyurls'] = array(
|
||||||
'head' => 'Nastavení PrettyURLs',
|
'head' => 'Nastavení PrettyURLs',
|
||||||
'htaccess' => '.htaccess',
|
'htaccess' => '.htaccess',
|
||||||
'description' => 'Tímto editorem můžete editovat Váš soubor' . '<code><a class="hint" href="https://notepad-plus-plus.org/">.htaccess</a></code>.',
|
'description' => 'Tímto editorem můžete editovat Váš soubor <code>.htaccess</code>.',
|
||||||
'cantsave' => 'Nemůžete editovat tento soubor, protože není <strong>zapisovatelný</strong>. Můžete nastavit povolení k zapisování nebo kopírovat a vložit do souboru a poté nahrát.',
|
'cantsave' => 'Nemůžete editovat tento soubor, protože není <strong>zapisovatelný</strong>. Můžete nastavit povolení k zapisování nebo kopírovat a vložit do souboru a poté nahrát.',
|
||||||
'mode' => 'Režim',
|
'mode' => 'Režim',
|
||||||
'auto' => 'Automatický',
|
'auto' => 'Automatický',
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
'head' => 'PrettyURLs Konfiguration',
|
'head' => 'PrettyURLs Konfiguration',
|
||||||
'htaccess' => '.htaccess',
|
'htaccess' => '.htaccess',
|
||||||
'description'=>'Dieser Editor ermöglicht die für das PrettyUrls Plugin benötigte '.
|
'description'=>'Dieser Editor ermöglicht die für das PrettyUrls Plugin benötigte '.
|
||||||
'<code><a class="hint" href="http://wiki.flatpress.org/doc:plugins:prettyurls#htaccess">.htaccess</a></code> direkt zu bearbeiten.',
|
'<code>.htaccess</code> direkt zu bearbeiten.',
|
||||||
'cantsave' => 'Diese Datei kann nicht bearbeitet werden, weil sie schreibgeschützt ist. Ändere die Zugriffsrechte oder kopiere diese Zeilen, füge sie in eine lokale Datei ein und lade diese dann hoch. Lies hierzu bitte die <a class="hint" href="http://wiki.flatpress.org/doc:plugins:prettyurls#manual_upload">Anleitung</a>',
|
'cantsave' => 'Diese Datei kann nicht bearbeitet werden, weil sie schreibgeschützt ist. Ändere die Zugriffsrechte oder kopiere diese Zeilen, füge sie in eine lokale Datei ein und lade diese dann hoch.',
|
||||||
'mode' => 'Modus',
|
'mode' => 'Modus',
|
||||||
'auto' => 'Automatisch',
|
'auto' => 'Automatisch',
|
||||||
'autodescr' => 'Ermittle die beste Möglichkeit automatisch',
|
'autodescr' => 'Ermittle die beste Möglichkeit automatisch',
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
'head' => 'PrettyURLs Configuration',
|
'head' => 'PrettyURLs Configuration',
|
||||||
'htaccess' => '.htaccess',
|
'htaccess' => '.htaccess',
|
||||||
'description'=>'This raw editor let you edit your '.
|
'description'=>'This raw editor let you edit your '.
|
||||||
'<code><a class="hint" href="http://wiki.flatpress.org/doc:plugins:prettyurls#htaccess">.htaccess</a></code>.',
|
'<code>.htaccess</code>.',
|
||||||
'cantsave' => 'You can\'t edit this file, because it\'s not <strong>writable</strong>. You can give writing permission or copy and paste to a file and then upload as <a class="hint" href="http://wiki.flatpress.org/doc:plugins:prettyurls#manual_upload">described here</a>',
|
'cantsave' => 'You can\'t edit this file, because it\'s not <strong>writable</strong>. You can give writing permission or copy and paste to a file and then upload manually.',
|
||||||
'mode' => 'Mode',
|
'mode' => 'Mode',
|
||||||
'auto' => 'Automatic',
|
'auto' => 'Automatic',
|
||||||
'autodescr' => 'try to guess the best choice for me',
|
'autodescr' => 'try to guess the best choice for me',
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
'head' => 'Configuración de PrettyURLs',
|
'head' => 'Configuración de PrettyURLs',
|
||||||
'htaccess' => '.htaccess',
|
'htaccess' => '.htaccess',
|
||||||
'description'=>'Este editor en bruto te permite editar tu '.
|
'description'=>'Este editor en bruto te permite editar tu '.
|
||||||
'<code><a class="hint" href="http://wiki.flatpress.org/doc:plugins:prettyurls#htaccess">.htaccess</a></code>.',
|
'<code>.htaccess</code>.',
|
||||||
'cantsave' => 'No puede editar este archivo, porque no es <strong>writable</strong>. Puede otorgar permiso de escritura o copiar y pegar en un archivo y luego cargarlo como <a class="hint" href="http://wiki.flatpress.org/doc:plugins:prettyurls#manual_upload">descrito aquí</a>',
|
'cantsave' => 'No puede editar este archivo, porque no es <strong>writable</strong>. Puede otorgar permiso de escritura o copiar y pegar en un archivo y luego cargarlo.',
|
||||||
'mode' => 'Modo',
|
'mode' => 'Modo',
|
||||||
'auto' => 'Automático',
|
'auto' => 'Automático',
|
||||||
'autodescr' => 'trata de adivinar la mejor opción para mí',
|
'autodescr' => 'trata de adivinar la mejor opción para mí',
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
'head' => 'Configuration de PrettyURLs',
|
'head' => 'Configuration de PrettyURLs',
|
||||||
'htaccess' => '.htaccess',
|
'htaccess' => '.htaccess',
|
||||||
'description'=>'Cet éditeur vous permet de modifier le fichier .htaccess '.
|
'description'=>'Cet éditeur vous permet de modifier le fichier .htaccess '.
|
||||||
'<code><a class="hint" href="http://wiki.flatpress.org/doc:plugins:prettyurls#htaccess" target="_blank">.htaccess</a></code>.',
|
'<code>.htaccess</code>.',
|
||||||
'cantsave' => 'Vous ne pouvez pas éditer ce fichier, parce qu\'il n\'est pas autorisé en <strong>écriture</strong>. Vous devez autoriser l\'écriture du fichier ou copier-coller vers un fichier à transférer comme <a class="hint" href="http://wiki.flatpress.org/doc:plugins:prettyurls#manual_upload">décrit ici</a>',
|
'cantsave' => 'Vous ne pouvez pas éditer ce fichier, parce qu\'il n\'est pas autorisé en <strong>écriture</strong>. Vous devez autoriser l\'écriture du fichier ou copier-coller vers un fichier à transférer.',
|
||||||
'mode' => 'Mode',
|
'mode' => 'Mode',
|
||||||
'auto' => 'Automatique',
|
'auto' => 'Automatique',
|
||||||
'autodescr' => 'PrettyURLs va tenter de trouver la meilleur configuration',
|
'autodescr' => 'PrettyURLs va tenter de trouver la meilleur configuration',
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
'head' => 'Configurazione di PrettyURLs',
|
'head' => 'Configurazione di PrettyURLs',
|
||||||
'htaccess' => '.htaccess',
|
'htaccess' => '.htaccess',
|
||||||
'description'=>'Questo editor grezzo ti permette di modificare il tuo '.
|
'description'=>'Questo editor grezzo ti permette di modificare il tuo '.
|
||||||
'<code><a class="hint" href="http://wiki.flatpress.org/doc:plugins:prettyurls#htaccess">.htaccess</a></code>.',
|
'<code>.htaccess</code>.',
|
||||||
'cantsave' => 'Non puoi modificare questo file, perché non è <strong>scrivibile</strong>. Puoi dargli i permessi di scrittura o copiarlo e incollarlo in un file e poi caricarlo come <a class="hint" href="http://wiki.flatpress.org/doc:plugins:prettyurls#manual_upload">viene descritto qui</a>',
|
'cantsave' => 'Non puoi modificare questo file, perché non è <strong>scrivibile</strong>. Puoi dargli i permessi di scrittura o copiarlo e incollarlo in un file e poi caricarlo.',
|
||||||
'mode' => 'Modalità',
|
'mode' => 'Modalità',
|
||||||
'auto' => 'Automatica',
|
'auto' => 'Automatica',
|
||||||
'autodescr' => 'prova a cercare la migliore scelta per me',
|
'autodescr' => 'prova a cercare la migliore scelta per me',
|
||||||
|
@ -9,9 +9,9 @@
|
|||||||
'head' => 'PrettyURLsの設定',
|
'head' => 'PrettyURLsの設定',
|
||||||
'htaccess' => '.htaccess',
|
'htaccess' => '.htaccess',
|
||||||
'description'=>'This raw editor let you edit your '.
|
'description'=>'This raw editor let you edit your '.
|
||||||
'<code><a class="hint" href="http://wiki.flatpress.org/doc:plugins:prettyurls#htaccess">.htaccess</a></code>.',
|
'<code>.htaccess</code>.',
|
||||||
'cantsave' => 'このファイルを編集できません、なぜなら <strong>書き込み許可</strong>されてないからです。'.
|
'cantsave' => 'このファイルを編集できません、なぜなら <strong>書き込み許可</strong>されてないからです。'.
|
||||||
'You can give writing permission or copy and paste to a file and then upload as <a class="hint" href="http://wiki.flatpress.org/doc:plugins:prettyurls#manual_upload">described here</a>',
|
'You can give writing permission or copy and paste to a file and then upload.',
|
||||||
'mode' => 'モード',
|
'mode' => 'モード',
|
||||||
'auto' => '自動',
|
'auto' => '自動',
|
||||||
'autodescr' => '最良の選択を推定します。',
|
'autodescr' => '最良の選択を推定します。',
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
'head' => 'PrettyURLs Configuração',
|
'head' => 'PrettyURLs Configuração',
|
||||||
'htaccess' => '.htaccess',
|
'htaccess' => '.htaccess',
|
||||||
'description'=>'Este editor bruto permite editar o seu '.
|
'description'=>'Este editor bruto permite editar o seu '.
|
||||||
'<code><a class="hint" href="http://wiki.flatpress.org/doc:plugins:prettyurls#htaccess">.htaccess</a></code>.',
|
'<code>.htaccess</code>.',
|
||||||
'cantsave' => 'Você não pode editar este arquivo, porque ele não é <strong>gravável</strong>. Você pode conceder permissão de gravação ou copiar e colar em um arquivo e fazer o upload como <a class="hint" href="http://wiki.flatpress.org/doc:plugins:prettyurls#manual_upload">explicado aqui.</a>',
|
'cantsave' => 'Você não pode editar este arquivo, porque ele não é <strong>gravável</strong>. Você pode conceder permissão de gravação ou copiar e colar em um arquivo e fazer o upload.',
|
||||||
'mode' => 'Modo',
|
'mode' => 'Modo',
|
||||||
'auto' => 'Automático',
|
'auto' => 'Automático',
|
||||||
'autodescr' => 'Tente adivinhar a melhor opção para mim.',
|
'autodescr' => 'Tente adivinhar a melhor opção para mim.',
|
||||||
|
@ -71,7 +71,7 @@ class Plugin_PrettyURLs {
|
|||||||
function permalink($str, $id) {
|
function permalink($str, $id) {
|
||||||
global $fpdb, $post;
|
global $fpdb, $post;
|
||||||
|
|
||||||
if (PRETTYURLS_TITLES)
|
if (isset($post) && PRETTYURLS_TITLES)
|
||||||
$title = sanitize_title($post ['subject']);
|
$title = sanitize_title($post ['subject']);
|
||||||
else
|
else
|
||||||
$title = $id;
|
$title = $id;
|
||||||
@ -184,18 +184,24 @@ class Plugin_PrettyURLs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function handle_entry($matches) {
|
function handle_entry($matches) {
|
||||||
if (PRETTYURLS_TITLES) {
|
if (!PRETTYURLS_TITLES) {
|
||||||
|
|
||||||
// isset($this->index[
|
|
||||||
if ($this->cache_get($this->fp_params ['y'], $this->fp_params ['m'], $this->fp_params ['d'], md5($matches [1]))) {
|
|
||||||
$this->fp_params ['entry'] = $this->index [$this->fp_params ['y']] [$this->fp_params ['m']] [$this->fp_params ['d']] [md5($matches [1])];
|
|
||||||
} else {
|
|
||||||
// a bit hackish: we make up a fake url when there is no match,
|
|
||||||
// so that at the higher level the system will 404...
|
|
||||||
$this->fp_params ['entry'] = 'a';
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
$this->fp_params ['entry'] = $matches [1];
|
$this->fp_params ['entry'] = $matches [1];
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// data is not as expected
|
||||||
|
if (!array_key_exists('y', $this->fp_params) || !array_key_exists('m', $this->fp_params) || !array_key_exists('d', $this->fp_params)) {
|
||||||
|
// a bit hackish: we make up a fake url when there is no match,
|
||||||
|
// so that at the higher level the system will 404...
|
||||||
|
$this->fp_params ['entry'] = 'a';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->cache_get($this->fp_params ['y'], $this->fp_params ['m'], $this->fp_params ['d'], md5($matches [1]))) {
|
||||||
|
$this->fp_params ['entry'] = $this->index [$this->fp_params ['y']] [$this->fp_params ['m']] [$this->fp_params ['d']] [md5($matches [1])];
|
||||||
|
} else {
|
||||||
|
// a bit hackish: we make up a fake url when there is no match,
|
||||||
|
// so that at the higher level the system will 404...
|
||||||
|
$this->fp_params ['entry'] = 'a';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -499,7 +505,7 @@ class Plugin_PrettyURLs {
|
|||||||
if (isset($this->fp_params ['paged']) && $this->fp_params ['paged'] > 1)
|
if (isset($this->fp_params ['paged']) && $this->fp_params ['paged'] > 1)
|
||||||
$page = $this->fp_params ['paged'];
|
$page = $this->fp_params ['paged'];
|
||||||
|
|
||||||
$page += $v;
|
$page += ($v . '');
|
||||||
|
|
||||||
if ($page > 0) {
|
if ($page > 0) {
|
||||||
$l .= 'page/' . $page . '/';
|
$l .= 'page/' . $page . '/';
|
||||||
@ -613,18 +619,18 @@ if (class_exists('AdminPanelAction')) {
|
|||||||
$txt = io_load_file($f);
|
$txt = io_load_file($f);
|
||||||
if (!$txt) {
|
if (!$txt) {
|
||||||
|
|
||||||
$txt = <<<STR
|
$txt = '
|
||||||
|
|
||||||
# Thanks again WP :)
|
# Thanks again WP :)
|
||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteBase {$blogroot}
|
RewriteBase ' . $blogroot . '
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteRule . {$blogroot}index.php [L]
|
RewriteRule . ' . $blogroot . 'index.php [L]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
STR;
|
';
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->smarty->assign('cantsave', (!is_writable(ABS_PATH) || (file_exists($f) && !is_writable($f))));
|
$this->smarty->assign('cantsave', (!is_writable(ABS_PATH) || (file_exists($f) && !is_writable($f))));
|
||||||
@ -659,4 +665,4 @@ if (class_exists('AdminPanelAction')) {
|
|||||||
admin_addpanelaction('plugin', 'prettyurls', true);
|
admin_addpanelaction('plugin', 'prettyurls', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
@ -10,7 +10,7 @@ $lang['admin']['plugin']['qspam'] = array(
|
|||||||
'desc1' => 'Non consentire commenti che contengono queste parole (scrivine una per riga) :',
|
'desc1' => 'Non consentire commenti che contengono queste parole (scrivine una per riga) :',
|
||||||
'desc2' => '<strong>Attenzione:</strong> Un commento verrà vietato anche quando una parola fa parte di un\'altra parola.
|
'desc2' => '<strong>Attenzione:</strong> Un commento verrà vietato anche quando una parola fa parte di un\'altra parola.
|
||||||
|
|
||||||
(ad esempio. "gomma" corrisponde anche a "s<em>gommata</em>" )',
|
(ad esempio. "gomma" corrisponde anche a "s<em>gomma</em>ta" )',
|
||||||
'options' => 'Altre opzioni',
|
'options' => 'Altre opzioni',
|
||||||
'desc3' => 'Conteggio parolacce',
|
'desc3' => 'Conteggio parolacce',
|
||||||
'desc3pre' => 'Blocca i commenti che contengono più di ',
|
'desc3pre' => 'Blocca i commenti che contengono più di ',
|
||||||
|
162
setup/lang/lang.cs-cz.php
Normal file
162
setup/lang/lang.cs-cz.php
Normal file
@ -0,0 +1,162 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* LangId: English
|
||||||
|
*/
|
||||||
|
$lang ['locked'] = array(
|
||||||
|
'head' => 'Setup je uzamčen',
|
||||||
|
'descr' => 'Vypadá to, že jste již spustili instalaci, protože
|
||||||
|
jsme našli zamčený soubor <code>%s</code>.
|
||||||
|
|
||||||
|
Pokud chcete znovu spustit setup, prosím smažte nejdříve tento soubor.
|
||||||
|
|
||||||
|
<strong >Upozornění!</strong> Není bezpečné ponechávat <code>setup.php</code> a <code>setup/</code> adresář na serveru, doporučujeme je smazat!
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a href="%s">Ok, zpět na můj blog</a></li>
|
||||||
|
<li><a href="%s">Po smazání souboru znovu spustit setup</a></li>
|
||||||
|
</ul>'
|
||||||
|
);
|
||||||
|
|
||||||
|
$lang ['step1'] = array(
|
||||||
|
'head' => 'Vítejte ve FlatPressu!',
|
||||||
|
'descr' => 'Děkujeme, že jste si vybrali <strong>FlatPress</strong>.
|
||||||
|
|
||||||
|
Než se začnete bavit na svém zbrusu novém blogu, položíme Vám několik otázek.
|
||||||
|
|
||||||
|
Nebojte se, nezabere to moc času.',
|
||||||
|
'descrl1' => 'Vyberte Váš jazyk.',
|
||||||
|
'descrl2' => '<a class="hint" onclick="toggleinfo();">Není v seznamu?</a>',
|
||||||
|
'descrlang' => 'Pokud v tomto seznamu svůj jazyk nevidíte, podívejte se na <a href="https://wiki.flatpress.org/res:language">jazykový balíček</a> pro verzi:
|
||||||
|
|
||||||
|
<pre>%s</pre>
|
||||||
|
|
||||||
|
Chcete-li nainstalovat jazykovou sadu, nahrajte obsah balíčku do <code>flatpress/</code>, vše přepište a <a href="./setup.php">spusťte znovu instalaci.</a>.',
|
||||||
|
'descrw' => '<strong>Jediná věc</strong> kterou FlatPress potřebuje k práci, je <em>zapisovatelný</em> adresář.
|
||||||
|
|
||||||
|
<pre>%s</pre>'
|
||||||
|
);
|
||||||
|
|
||||||
|
$lang ['step2'] = array(
|
||||||
|
'head' => 'Vytvořit uživatele',
|
||||||
|
'descr' => 'Již jste téměř hotovi, vyplňte následující podrobnosti:',
|
||||||
|
'fpuser' => 'Uživatelské jméno',
|
||||||
|
'fppwd' => 'Heslo',
|
||||||
|
'fppwd2' => 'Zopakujte heslo',
|
||||||
|
'www' => 'WWW stránka',
|
||||||
|
'email' => 'E-Mail'
|
||||||
|
);
|
||||||
|
|
||||||
|
$lang ['step3'] = array(
|
||||||
|
'head' => 'Hotovo',
|
||||||
|
'descr' => '<strong>Jsme na konci</strong>.
|
||||||
|
|
||||||
|
Nevěříte?
|
||||||
|
|
||||||
|
A máte pravdu: <strong>příběh právě začíná</strong>, ale <strong>psaní je jen na vás</strong>!
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Podívejte se <a href="%s"> jak vypadá vaše stránka.</a></li>
|
||||||
|
<li>Bavte se! <a href="%s">Nyní se přihlašte!</a></li>
|
||||||
|
<li>Máte chuť nám poslat zprávu? <a href="https://www.flatpress.org/">Jděte na FlatPress.org!</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
A děkujeme že jste si vybrali FlatPress!'
|
||||||
|
);
|
||||||
|
|
||||||
|
$lang ['buttonbar'] = array(
|
||||||
|
'next' => 'Další >'
|
||||||
|
);
|
||||||
|
|
||||||
|
$lang ['samplecontent'] = array();
|
||||||
|
|
||||||
|
$lang ['samplecontent'] ['menu'] ['subject'] = 'Menu';
|
||||||
|
$lang ['samplecontent'] ['menu'] ['content'] = <<<MENU
|
||||||
|
[list]
|
||||||
|
[*][url=?]Home[/url]
|
||||||
|
[*][url=?paged=1]Blog[/url]
|
||||||
|
[*][url=static.php?page=about]About[/url]
|
||||||
|
[*][url=contact.php]Contact[/url]
|
||||||
|
[/list]
|
||||||
|
MENU;
|
||||||
|
|
||||||
|
$lang ['samplecontent'] ['entry'] ['subject'] = 'Vítejte ve FlatPressu!';
|
||||||
|
$lang ['samplecontent'] ['entry'] ['content'] = <<<CONT
|
||||||
|
Tento článek vám ukáže některé z možností [url=https://www.flatpress.org]FlatPressu[/url].
|
||||||
|
|
||||||
|
Tag "more" zobrazí odkaz "Číst dál...", po kliknutí na něj se zobrazí celý článek.
|
||||||
|
|
||||||
|
[more]
|
||||||
|
|
||||||
|
|
||||||
|
[h4]Úprava vzhledu[/h4]
|
||||||
|
|
||||||
|
K formátování textu se používají tzv. [url=http://wiki.flatpress.org/doc:plugins:bbcode]BBcode[/url] (bulletin board code). BBCode je snadný způsob, jak stylovat své příspěvky a vkládat obrázky nebo videa. Nejběžnější kódy jsou [b] pro [b]tučné písmo[/b], [i] pro [i]šikmé písmo[/i], atd.
|
||||||
|
|
||||||
|
[quote]K dispozici je tag "quote" k zobrazení vašich oblíbených citátů.[/quote]
|
||||||
|
|
||||||
|
[code]A také tag "code" k zobrazení zdrojových kódů programu.[/code]
|
||||||
|
|
||||||
|
[b]img a url[/b] tagy mají speciální parametry, jejich podrobný popis najdete na [url=https://wiki.flatpress.org/doc:plugins:bbcode]FP wiki[/url].
|
||||||
|
|
||||||
|
|
||||||
|
[h4]Příspěvky a statické stránky[/h4]
|
||||||
|
|
||||||
|
Toto je příspěvek, zatímco [url=static.php?page=about]O mně[/url] je [b]statická stránka[/b]. Statická stránka je text, který nelze komentovat a který se neobjevuje společně s běžnými příspěvky blogu.
|
||||||
|
|
||||||
|
Statické stránky jsou užitečné při vytváření stránek s obecnými informacemi. Jednu z těchto stránek můžete také nastavit jako úvodní stránku pro své návštěvníky. To znamená, že s FlatPress můžete provozovat také web, který není blogem. Možnost vytvořit ze své statické stránky úvodní stránku je v panelu možností v oblasti [url=admin.php]administrace webu[/url].
|
||||||
|
|
||||||
|
|
||||||
|
[h4]Pluginy[/h4]
|
||||||
|
|
||||||
|
FlatPress je velmi přizpůsobitelný a podporuje [url=https://wiki.flatpress.org/doc:plugins:standard]pluginy[/url] pro rozšíření jeho výkonu. BBCode je jeden z pluginů.
|
||||||
|
|
||||||
|
Vytvořili jsme další ukázkový obsah, abychom vám ukázali některé skryté funkce a vychytávky FlatPressu :)
|
||||||
|
Můžete zde najít dvě statické stránky připravené pro váš obsah:
|
||||||
|
[list]
|
||||||
|
[*][url=static.php?page=about]O mně[/url]
|
||||||
|
[*][url=static.php?page=menu]Menu[/url] (všimněte si, že odkazy na této stránce se objeví také na vašem bočním panelu - to je kouzlo [b]blockparser widgetu[/b]. Podívejte se na [url=http://wiki.flatpress.org/doc:faq]FAQ[/url] pro podrobnosti!)
|
||||||
|
[/list]
|
||||||
|
|
||||||
|
|
||||||
|
[h4]Widgety[/h4]
|
||||||
|
|
||||||
|
V postranním panelu není jediný pevný prvek. Všechny prvky jsou zcela polohovatelné a většina z nich je také přizpůsobitelná.
|
||||||
|
Tyto prvky se nazývají widgety. Další informace o [url=https://wiki.flatpress.org/doc:tips:widgets]widgetech[/url] a několik tipů, jak získat pěkné efekty, najdete na [url=https://wiki.flatpress.org/]wiki[/url].
|
||||||
|
|
||||||
|
|
||||||
|
[h4]Chcete vědět víc?[/h4]
|
||||||
|
|
||||||
|
[list]
|
||||||
|
[*]Jděte na [url=https://www.flatpress.org/?x]oficiální blog[/url] dozvědět se, co se děje ve světě FlatPressu
|
||||||
|
[*]Navštivte [url=https://forum.flatpress.org/]fórum[/url] kde vám poradíme a pomůžeme
|
||||||
|
[*]Stáhněte si [b]šablony vzhledu[/b] od [url=https://wiki.flatpress.org/res:themes]našich uživatelů[/url]!
|
||||||
|
[*]Podívejte se na [url=https://wiki.flatpress.org/res:plugins]neoficiální pluginy[/url]
|
||||||
|
[*]Stáhněte si [url=https://wiki.flatpress.org/res:language]překlady[/url] do dalších jazyků
|
||||||
|
[/list]
|
||||||
|
|
||||||
|
|
||||||
|
[h4]Jak můžu pomoci?[/h4]
|
||||||
|
|
||||||
|
[list]
|
||||||
|
[*][url=https://www.flatpress.org/contact/]Kontaktujte nás[/url] a nahlašte chyby nebo navrhněte vylepšení.
|
||||||
|
[*]Přispějte k vývoji Flatpressu na [url="https://github.com/flatpressblog/flatpress"]GitHub[/url].
|
||||||
|
[*]Přeložte FlatPress nebo dokumentaci [url=https://wiki.flatpress.org/res:language]do svého jazyka[/url].
|
||||||
|
[*]Sdílejte své zkušenosti a spojte se s ostatními uživateli [url=https://forum.flatpress.org/]na fóru[/url].
|
||||||
|
[*]Šiřte jej dál! :)
|
||||||
|
[/list]
|
||||||
|
|
||||||
|
|
||||||
|
[h4]A co teď?[/h4]
|
||||||
|
|
||||||
|
Nyní se můžete [url=login.php]Přihlásit[/url] nebo jít do [url=admin.php]Administrace webu[/url] a začít publikovat!
|
||||||
|
|
||||||
|
Bavte se! :)
|
||||||
|
|
||||||
|
[i]Váš [url=https://www.flatpress.org]FlatPress[/url] Team[/i]
|
||||||
|
|
||||||
|
CONT;
|
||||||
|
|
||||||
|
$lang ['samplecontent'] ['about'] ['subject'] = 'O mně';
|
||||||
|
$lang ['samplecontent'] ['about'] ['content'] = "Sem napište něco o sobě. ([url=admin.php?p=static&action=write&page=about]Editovat![/url])";
|
||||||
|
|
||||||
|
?>
|
165
setup/lang/lang.de-de.php
Normal file
165
setup/lang/lang.de-de.php
Normal file
@ -0,0 +1,165 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* LangId: Deutsch
|
||||||
|
*/
|
||||||
|
$lang ['locked'] = array(
|
||||||
|
'head' => 'Installation ist gesperrt',
|
||||||
|
'descr' => 'Sieht so aus, als würde die Installation bereits laufen: Die Sperr-Datei <code>%s</code> existiert bereits.
|
||||||
|
|
||||||
|
Wenn du die Installation noch einmal neu starten möchtest, lösche bitte zuerst diese Datei.
|
||||||
|
|
||||||
|
<strong >Achtung!</strong> Die Datei <code>setup.php</code> und das Verzeichnis <code>setup/</code> sollten nicht auf dem Server bleiben, bitte lösche sie nach Abschluss der Installation!
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><a href="%s">Ok, bring mich zu meinem Blog</a></li>
|
||||||
|
<li><a href="%s">Ich habe die Datei gelöscht, Installation neu starten</a></li>
|
||||||
|
</ul>'
|
||||||
|
);
|
||||||
|
|
||||||
|
$lang ['step1'] = array(
|
||||||
|
'head' => 'Willkommen bei FlatPress!',
|
||||||
|
'descr' => 'Danke, dass du dich für <strong>FlatPress</strong> entschieden hast.
|
||||||
|
|
||||||
|
Bevor du mit deinem brandneuen Blog loslegen kannst, musst du noch ein paar Kleinigkeiten angeben.
|
||||||
|
|
||||||
|
Aber keine Sorge, es dauert nicht lange!',
|
||||||
|
'descrl1' => 'Wähle deine Sprache.',
|
||||||
|
'descrl2' => '<a class="hint" onclick="toggleinfo();">Nicht in der Liste?</a>',
|
||||||
|
'descrlang' => 'Wenn du deine Sprache nicht in der Liste findest, schau einmal nach, ob es <a href="https://wiki.flatpress.org/res:language">ein passendes Sprachpaket</a> gibt:
|
||||||
|
|
||||||
|
<pre>%s</pre>
|
||||||
|
|
||||||
|
Für die Installation eines Sprachpakets lade dessen Inhalt einfach in dein <code>flatpress/</code>-Verzeichnis. Dann <a href="./setup.php">starte die Installation erneut</a>.',
|
||||||
|
'descrw' => '<strong>Das Einzige</strong>, was du für den Betrieb von FlatPress benötigst, ist ein <em>beschreibbares</em> Verzeichnis.
|
||||||
|
|
||||||
|
<pre>%s</pre>'
|
||||||
|
);
|
||||||
|
|
||||||
|
$lang ['step2'] = array(
|
||||||
|
'head' => 'Benutzer anlegen',
|
||||||
|
'descr' => 'Fast fertig! Nur noch die folgenden Details:',
|
||||||
|
'fpuser' => 'Benutzername',
|
||||||
|
'fppwd' => 'Passwort',
|
||||||
|
'fppwd2' => 'Passwort (Wiederholung)',
|
||||||
|
'www' => 'Homepage',
|
||||||
|
'email' => 'E-Mail'
|
||||||
|
);
|
||||||
|
|
||||||
|
$lang ['step3'] = array(
|
||||||
|
'head' => 'Fertig',
|
||||||
|
'descr' => '<strong>Das war\'s schon.</strong>
|
||||||
|
|
||||||
|
Nicht zu glauben?
|
||||||
|
|
||||||
|
Nein, tatsächlich <strong>geht es jetzt erst richtig los</strong>! Aber das Bloggen ist nun <em>deine</em> Aufgabe ;)
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Zur <a href="%s">Hauptseite deines Blogs</a></li>
|
||||||
|
<li>Viel Spaß beim Bloggen! <a href="%s">Jetzt einloggen</a></li>
|
||||||
|
<li>Du möchtest Lob oder Kritik loswerden? Besuche uns auf <a href="https://www.flatpress.org/">FlatPress.org</a>!</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
Danke, dass du dich für FlatPress entschieden hast!'
|
||||||
|
);
|
||||||
|
|
||||||
|
$lang ['buttonbar'] = array(
|
||||||
|
'next' => 'Next >'
|
||||||
|
);
|
||||||
|
|
||||||
|
$lang ['samplecontent'] = array();
|
||||||
|
|
||||||
|
$lang ['samplecontent'] ['menu'] ['subject'] = 'Menü';
|
||||||
|
$lang ['samplecontent'] ['menu'] ['content'] = '[list]
|
||||||
|
[*][url=?]Startseite[/url]
|
||||||
|
[*][url=?paged=1]Blog[/url]
|
||||||
|
[*][url=static.php?page=about]Über[/url]
|
||||||
|
[*][url=contact.php]Kontakt[/url]
|
||||||
|
[/list]';
|
||||||
|
|
||||||
|
$lang ['samplecontent'] ['entry'] ['subject'] = 'Willkommen bei FlatPress!';
|
||||||
|
$lang ['samplecontent'] ['entry'] ['content'] = 'Das ist ein Beispiel-Beitrag, er zeigt dir einige Funktionen von [url=https://www.flatpress.org]FlatPress[/url].
|
||||||
|
|
||||||
|
Das "more"-Element erlaubt es dir, vom Anriss des Beitrags zum kompletten Artikel zu springen.
|
||||||
|
|
||||||
|
[more]
|
||||||
|
|
||||||
|
|
||||||
|
[h4]Textformatierung[/h4]
|
||||||
|
|
||||||
|
In FlatPress formatierst du deine Inhalte mit [url=http://wiki.flatpress.org/doc:plugins:bbcode]BBcode[/url] (Bulletin-Board-Code). Mit BBCode geht das sehr einfach. Beispiele gefällig? [b] macht [b]fetten Text[/b], [i] [i]kursiven[/i].
|
||||||
|
|
||||||
|
[quote]Mit dem [b]quote[/b]-Element lassen sich Zitate auszeichnen. [/quote]
|
||||||
|
|
||||||
|
[code]Das \'code\'-Element erzeugt einen Abschnitt mit fester Zeichenbreite.
|
||||||
|
Es kann auch
|
||||||
|
Einrückungen darstellen.[/code]
|
||||||
|
|
||||||
|
Die Elemente \'img\' (Bilder) und \'url\' (Links) haben spezielle Optionen. Mehr darüber erfährst du im [url=https://wiki.flatpress.org/doc:plugins:bbcode]FlatPress-Wiki[/url].
|
||||||
|
|
||||||
|
|
||||||
|
[h4]Einträge (Blogartikel) und statische Seiten[/h4]
|
||||||
|
|
||||||
|
Das hier ist ein Eintrag, während [url=static.php?page=about]Über[/url] eine [b]statische Seite[/b] ist. Eine statische Seite kann im Gegensatz zum Eintrag nicht kommentiert werden und taucht auch nicht in den Auflistungen der Blogeinträge auf.
|
||||||
|
|
||||||
|
Statische Seiten sind sinvoll für generelle Informationen, zum Beispiel eine feste Startseite oder das Impressum. Man könnte sogar komplett auf die Blog-Funktionen verzichten und mit FlatPress eine Website mit ausschließlich statischen Seiten erstellen.
|
||||||
|
|
||||||
|
Im [url=admin.php]Administrationsbereich[/url] kannst du Einträge und statische Seiten erstellen - und festlegen, ob die Startseite deines FlatPress-Blogs eine statische Seite oder die Blog-Übersicht sein soll.
|
||||||
|
|
||||||
|
|
||||||
|
[h4]Plugins[/h4]
|
||||||
|
|
||||||
|
Du kannst FlatPress umfassend an deine Bedürfnisse anpassen, indem du es mit [url=https://wiki.flatpress.org/doc:plugins:standard]Plugins[/url] erweiterst. BBCode ist z.B. ein Plugin.
|
||||||
|
|
||||||
|
Es folgt noch etwas mehr Beispiel-Inhalt, der dir noch mehr FlatPress-Funktionen zeigt :)
|
||||||
|
Zwei statische Seiten sind für dich schon vorbereitet:
|
||||||
|
[list]
|
||||||
|
[*][url=static.php?page=about]Über[/url]
|
||||||
|
[*][url=static.php?page=menu]Menü[/url] (Der Inhalt dieser statischen Seite taucht auch in der Seitenleiste deines Blogs auf - das ist die Magie des [b]Blockparser-Widgets[/b]. Das [url=http://wiki.flatpress.org/]FlatPress-Wiki[/url] hat Informationen dazu, und noch viel mehr!)
|
||||||
|
[/list]
|
||||||
|
|
||||||
|
|
||||||
|
[h4]Widgets[/h4]
|
||||||
|
|
||||||
|
Keines der Elemente in der Seitenleiste deines Blogs ist fest vorgegeben, du kannst sie im Administrationsbereich verschieben, entfernen und neue hinzufügen.
|
||||||
|
|
||||||
|
Diese Elemente werden [b]Widgets[/b] genannt. Natürlich hat das FlatPress-Wiki auch zu diesem Thema [url=https://wiki.flatpress.org/doc:tips:widgets]viele hilfreiche Informationen[/url].
|
||||||
|
|
||||||
|
|
||||||
|
[h4]Noch mehr[/h4]
|
||||||
|
|
||||||
|
Du möchtest gern mehr über FlatPress wissen?
|
||||||
|
|
||||||
|
[list]
|
||||||
|
[*]Im [url=https://www.flatpress.org/?x]Projekt-Blog[/url] erfährst du, was im FlatPress-Projekt aktuell los ist.
|
||||||
|
[*]Besuche das [url=https://forum.flatpress.org/]Supportforum[/url] für Unterstützung und den Kontakt zu anderen FlatPress-Benutzern.
|
||||||
|
[*]Lade dir großartige von der Community erstellte [b]Themes[/b] aus dem [url=https://wiki.flatpress.org/res:themes]Wiki[/url] herunter.
|
||||||
|
[*]Dort gibt es auch tolle [url=https://wiki.flatpress.org/res:plugins]Plugins[/url].
|
||||||
|
[*]FlatPress kannst du auch [url=https://twitter.com/FlatPress]auf Twitter folgen[/url].
|
||||||
|
[/list]
|
||||||
|
|
||||||
|
|
||||||
|
[h4]Wie kannst ich FlatPress unterstützen?[/h4]
|
||||||
|
|
||||||
|
[list]
|
||||||
|
[*][url=https://www.flatpress.org/contact/]Melde[/url] aufgetretene Fehler oder schick uns Verbesserungsvorschläge.
|
||||||
|
[*]Programmierer sind herzlich eingeladen, uns auf [url="https://github.com/flatpressblog/flatpress"]GitHub[/url] zu unterstützen.
|
||||||
|
[*]Übersetze FlatPress und seine Dokumentation in [url=https://wiki.flatpress.org/res:language]deine Sprache[/url].
|
||||||
|
[*]Sei ein Teil der FlatPress-Gemeinschaft im [url=https://forum.flatpress.org/]Supportforum[/url].
|
||||||
|
[*]Erzähl der Welt, wie toll FlatPress ist! :)
|
||||||
|
[/list]
|
||||||
|
|
||||||
|
|
||||||
|
[h4]So, und nun?[/h4]
|
||||||
|
|
||||||
|
[url=login.php]Logge dich ein[/url], um im [url=admin.php]Administrationsbereicht[/url] mit dem Bloggen zu beginnen.
|
||||||
|
|
||||||
|
Viel Spaß! :)
|
||||||
|
|
||||||
|
[i]Das [url=https://www.flatpress.org]FlatPress[/url]-Team[/i]
|
||||||
|
|
||||||
|
';
|
||||||
|
|
||||||
|
$lang ['samplecontent'] ['about'] ['subject'] = 'Über';
|
||||||
|
$lang ['samplecontent'] ['about'] ['content'] = "Schreib hier etwas über dich und diesen Blog. ([url=admin.php?p=static&action=write&page=about]Bearbeite mich![/url])";
|
||||||
|
|
||||||
|
?>
|
@ -70,18 +70,15 @@ $lang ['buttonbar'] = array(
|
|||||||
$lang ['samplecontent'] = array();
|
$lang ['samplecontent'] = array();
|
||||||
|
|
||||||
$lang ['samplecontent'] ['menu'] ['subject'] = 'Menu';
|
$lang ['samplecontent'] ['menu'] ['subject'] = 'Menu';
|
||||||
$lang ['samplecontent'] ['menu'] ['content'] = <<<MENU
|
$lang ['samplecontent'] ['menu'] ['content'] = '[list]
|
||||||
[list]
|
|
||||||
[*][url=?]Home[/url]
|
[*][url=?]Home[/url]
|
||||||
[*][url=?paged=1]Blog[/url]
|
[*][url=?paged=1]Blog[/url]
|
||||||
[*][url=static.php?page=about]About[/url]
|
[*][url=static.php?page=about]About[/url]
|
||||||
[*][url=contact.php]Contact[/url]
|
[*][url=contact.php]Contact[/url]
|
||||||
[/list]
|
[/list]';
|
||||||
MENU;
|
|
||||||
|
|
||||||
$lang ['samplecontent'] ['entry'] ['subject'] = 'Welcome to FlatPress!';
|
$lang ['samplecontent'] ['entry'] ['subject'] = 'Welcome to FlatPress!';
|
||||||
$lang ['samplecontent'] ['entry'] ['content'] = <<<CONT
|
$lang ['samplecontent'] ['entry'] ['content'] = 'This is a sample entry, posted to show you some of the features of [url=https://www.flatpress.org]FlatPress[/url].
|
||||||
This is a sample entry, posted to show you some of the features of [url=https://www.flatpress.org]FlatPress[/url].
|
|
||||||
|
|
||||||
The more tag allows you to create a "jump" between an excerpt and the complete article.
|
The more tag allows you to create a "jump" between an excerpt and the complete article.
|
||||||
|
|
||||||
@ -94,7 +91,7 @@ The default way to style and format your content is [url=http://wiki.flatpress.o
|
|||||||
|
|
||||||
[quote]There are also [b]quote[/b] blocks to display your favourite quotations. [/quote]
|
[quote]There are also [b]quote[/b] blocks to display your favourite quotations. [/quote]
|
||||||
|
|
||||||
[code]And 'code' displays your snippets in a monospaced fashion.
|
[code]And \'code\' displays your snippets in a monospaced fashion.
|
||||||
It also supports
|
It also supports
|
||||||
indented content.[/code]
|
indented content.[/code]
|
||||||
|
|
||||||
@ -122,7 +119,7 @@ You can find two [b]static pages[/b] ready to accept your contents:
|
|||||||
|
|
||||||
[h4]Widgets[/h4]
|
[h4]Widgets[/h4]
|
||||||
|
|
||||||
There isn't a single fixed element in the sidebar(s). All the elements you can find in the bars sourrounding this text are completely positionable, and most of them are customizable as well. Some themes even provide a panel interface in the admin area.
|
There isn\'t a single fixed element in the sidebar(s). All the elements you can find in the bars sourrounding this text are completely positionable, and most of them are customizable as well. Some themes even provide a panel interface in the admin area.
|
||||||
|
|
||||||
These elements are called [b]widgets[/b]. For more on widgets and [url=https://wiki.flatpress.org/doc:tips:widgets]some tips[/url] to get nice effects, take a look at the [url=https://wiki.flatpress.org/]wiki[/url].
|
These elements are called [b]widgets[/b]. For more on widgets and [url=https://wiki.flatpress.org/doc:tips:widgets]some tips[/url] to get nice effects, take a look at the [url=https://wiki.flatpress.org/]wiki[/url].
|
||||||
|
|
||||||
@ -132,9 +129,9 @@ These elements are called [b]widgets[/b]. For more on widgets and [url=https://w
|
|||||||
Want to see more?
|
Want to see more?
|
||||||
|
|
||||||
[list]
|
[list]
|
||||||
[*]Follow the [url=https://www.flatpress.org/?x]official blog[/url] to know what's going on in the FlatPress world
|
[*]Follow the [url=https://www.flatpress.org/?x]official blog[/url] to know what\'s going on in the FlatPress world
|
||||||
[*]Visit the [url=https://forum.flatpress.org/]forum[/url] for support and chit-chat
|
[*]Visit the [url=https://forum.flatpress.org/]forum[/url] for support and chit-chat
|
||||||
[*]Get [b]great themes[/b] from [url=https://wiki.flatpress.org/res:themes]other users' submissions[/url]!
|
[*]Get [b]great themes[/b] from [url=https://wiki.flatpress.org/res:themes]other users\' submissions[/url]!
|
||||||
[*]Check out the [url=https://wiki.flatpress.org/res:plugins]unofficial plugins[/url]
|
[*]Check out the [url=https://wiki.flatpress.org/res:plugins]unofficial plugins[/url]
|
||||||
[*]Get [url=https://wiki.flatpress.org/res:language]translation pack[/url] for your language
|
[*]Get [url=https://wiki.flatpress.org/res:language]translation pack[/url] for your language
|
||||||
[/list]
|
[/list]
|
||||||
@ -159,7 +156,7 @@ Have fun! :)
|
|||||||
|
|
||||||
[i]The [url=https://www.flatpress.org]FlatPress[/url] Team[/i]
|
[i]The [url=https://www.flatpress.org]FlatPress[/url] Team[/i]
|
||||||
|
|
||||||
CONT;
|
';
|
||||||
|
|
||||||
$lang ['samplecontent'] ['about'] ['subject'] = 'About';
|
$lang ['samplecontent'] ['about'] ['subject'] = 'About';
|
||||||
$lang ['samplecontent'] ['about'] ['content'] = "Write something about yourself here. ([url=admin.php?p=static&action=write&page=about]Edit me![/url])";
|
$lang ['samplecontent'] ['about'] ['content'] = "Write something about yourself here. ([url=admin.php?p=static&action=write&page=about]Edit me![/url])";
|
||||||
|
@ -31,7 +31,7 @@ $lang ['step1'] = array(
|
|||||||
<pre>%s</pre>
|
<pre>%s</pre>
|
||||||
|
|
||||||
Per installare il pacchetto di lingua, carica il contenuto del pacchetto nela tua copia di <code>flatpress/</code>, e sovrascrivi tutto, poi <a href="./setup.php">riavvia questa installazione</a>.',
|
Per installare il pacchetto di lingua, carica il contenuto del pacchetto nela tua copia di <code>flatpress/</code>, e sovrascrivi tutto, poi <a href="./setup.php">riavvia questa installazione</a>.',
|
||||||
'descrw' => 'L\'<strong>unica cosa</strong> di cui ha bisogno FlatPress per funzionare è una cartella <em>scrivibile</em>.
|
'descrw' => 'L\'<strong>unica cosa</strong> di cui ha bisogno FlatPress per funzionare è una cartella <em>scrivibile</em>.
|
||||||
|
|
||||||
<pre>%s</pre>'
|
<pre>%s</pre>'
|
||||||
);
|
);
|
||||||
@ -70,18 +70,15 @@ $lang ['buttonbar'] = array(
|
|||||||
$lang ['samplecontent'] = array();
|
$lang ['samplecontent'] = array();
|
||||||
|
|
||||||
$lang ['samplecontent'] ['menu'] ['subject'] = 'Menu';
|
$lang ['samplecontent'] ['menu'] ['subject'] = 'Menu';
|
||||||
$lang ['samplecontent'] ['menu'] ['content'] = <<<MENU
|
$lang ['samplecontent'] ['menu'] ['content'] = '[list]
|
||||||
[list]
|
|
||||||
[*][url=?]Home[/url]
|
[*][url=?]Home[/url]
|
||||||
[*][url=?paged=1]Blog[/url]
|
[*][url=?paged=1]Blog[/url]
|
||||||
[*][url=static.php?page=about]Informazioni sul sito[/url]
|
[*][url=static.php?page=about]Informazioni sul sito[/url]
|
||||||
[*][url=contact.php]Contatti[/url]
|
[*][url=contact.php]Contatti[/url]
|
||||||
[/list]
|
[/list]';
|
||||||
MENU;
|
|
||||||
|
|
||||||
$lang ['samplecontent'] ['entry'] ['subject'] = 'Benvenuto su FlatPress!';
|
$lang ['samplecontent'] ['entry'] ['subject'] = 'Benvenuto su FlatPress!';
|
||||||
$lang ['samplecontent'] ['entry'] ['content'] = <<<CONT
|
$lang ['samplecontent'] ['entry'] ['content'] = 'Questo è un articolo di prova, inserito mer mostrarti alcune delle funzioni di [url=https://www.flatpress.org]FlatPress[/url].
|
||||||
Questo è un articolo di prova, inserito mer mostrarti alcune delle funzioni di [url=https://www.flatpress.org]FlatPress[/url].
|
|
||||||
|
|
||||||
Il tag more ti consente di crare un "salto" tra un estratto e l\'articolo completo.
|
Il tag more ti consente di crare un "salto" tra un estratto e l\'articolo completo.
|
||||||
|
|
||||||
@ -94,7 +91,7 @@ Il modo predefinito dell\'aspetto e del contenuto dell\'articolo è [url=http://
|
|||||||
|
|
||||||
[quote]Ci sono anche i blocchi [b]citazione[/b] per mostrare le tue citazioni preferite. [/quote]
|
[quote]Ci sono anche i blocchi [b]citazione[/b] per mostrare le tue citazioni preferite. [/quote]
|
||||||
|
|
||||||
[code]E il tag 'code' mmostra dei pezzetti di codice in uno stile monospaziale.
|
[code]E il tag \'code\' mmostra dei pezzetti di codice in uno stile monospaziale.
|
||||||
Inoltre supporta
|
Inoltre supporta
|
||||||
il contenuto indentato.[/code]
|
il contenuto indentato.[/code]
|
||||||
|
|
||||||
@ -103,9 +100,9 @@ I tag img e url tag hanno inoltre delle opzioni speciali. Puoi saperne di più s
|
|||||||
|
|
||||||
[h4]Articoli e Pagine statiche[/h4]
|
[h4]Articoli e Pagine statiche[/h4]
|
||||||
|
|
||||||
Queto è un articolo, mentre [url=static.php?page=about]Informazioni suAbout[/url] è una [b]pagina statica[/b]. Una pagina statica è un articolo che non può essere commentato e che non compare insieme agl altri articoli del blog.
|
Queto è un articolo, mentre [url=static.php?page=about]Informazioni su[/url] è una [b]pagina statica[/b]. Una pagina statica è un articolo che non può essere commentato e che non compare insieme agli altri articoli del blog.
|
||||||
|
|
||||||
Le pagine statiche sono utili per creare pagine di informazioni generali. Puoi anche rendere una di queste pagine la [b]pagina di apertura[/b] per i tuoi visitatori. Questo vuol dire che con FlatPress puoi anche costruire un sito completo che non sia un blog. L\'opzione per reendere una pagina statica la pagina iniziale del tuo sito si trova nel [b]pannello delle opzioni[/b] dell\'[url=admin.php]area di amministrazione[/url].
|
Le pagine statiche sono utili per creare pagine di informazioni generali. Puoi anche rendere una di queste pagine la [b]pagina di apertura[/b] per i tuoi visitatori. Questo vuol dire che con FlatPress puoi anche costruire un sito completo che non sia un blog. L\'opzione per rendere una pagina statica la pagina iniziale del tuo sito si trova nel [b]pannello delle opzioni[/b] del [url=admin.php]pannello di controllo[/url].
|
||||||
|
|
||||||
|
|
||||||
[h4]Plugins[/h4]
|
[h4]Plugins[/h4]
|
||||||
@ -159,7 +156,7 @@ Buon divertimento! :)
|
|||||||
|
|
||||||
[i]Il Team di [url=https://www.flatpress.org]FlatPress[/url][/i]
|
[i]Il Team di [url=https://www.flatpress.org]FlatPress[/url][/i]
|
||||||
|
|
||||||
CONT;
|
';
|
||||||
|
|
||||||
$lang ['samplecontent'] ['about'] ['subject'] = 'Chi sono';
|
$lang ['samplecontent'] ['about'] ['subject'] = 'Chi sono';
|
||||||
$lang ['samplecontent'] ['about'] ['content'] = "Scrivi qui qualcosa su di te. ([url=admin.php?p=static&action=write&page=about]Modificami![/url])";
|
$lang ['samplecontent'] ['about'] ['content'] = "Scrivi qui qualcosa su di te. ([url=admin.php?p=static&action=write&page=about]Modificami![/url])";
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
LangId: Japanese
|
* LangId: Japanese
|
||||||
*/
|
*/
|
||||||
$lang['locked'] = array(
|
$lang ['locked'] = array(
|
||||||
'head' => 'セットアップは中断されました.',
|
'head' => 'セットアップは中断されました.',
|
||||||
'descr' =>
|
'descr' => 'ロックファイル「<code>%s</code>」がサーバ上に存在しますので,
|
||||||
'ロックファイル「<code>%s</code>」がサーバ上に存在しますので,
|
|
||||||
すでにセットアップ済みと判断しました.
|
すでにセットアップ済みと判断しました.
|
||||||
|
|
||||||
もしセットアップをやり直したいのであれば, まずこのロックファイルをサーバ上から削除してください.
|
もしセットアップをやり直したいのであれば, まずこのロックファイルをサーバ上から削除してください.
|
||||||
@ -16,53 +15,45 @@ LangId: Japanese
|
|||||||
<li><a href="%s">ブログに戻ります</a></li>
|
<li><a href="%s">ブログに戻ります</a></li>
|
||||||
<li><a href="%s">ロックファイルを削除しましたので, セットアップを再開します</a></li>
|
<li><a href="%s">ロックファイルを削除しましたので, セットアップを再開します</a></li>
|
||||||
</ul>'
|
</ul>'
|
||||||
);
|
);
|
||||||
|
|
||||||
$lang['step1'] = array (
|
$lang ['step1'] = array(
|
||||||
'head' => 'ようこそFlatPressへ',
|
'head' => 'ようこそFlatPressへ',
|
||||||
'descr' =>
|
'descr' => '<strong>FlatPress</strong>を選んでくださり, 感謝申し上げます!
|
||||||
'<strong>FlatPress</strong>を選んでくださり, 感謝申し上げます!
|
|
||||||
|
|
||||||
新規のブログをお楽しみいただく前に, 少しばかりお尋ねします.
|
新規のブログをお楽しみいただく前に, 少しばかりお尋ねします.
|
||||||
|
|
||||||
時間はかかりませんから, ご心配なく!',
|
時間はかかりませんから, ご心配なく!',
|
||||||
|
|
||||||
'descrl1' => 'Select your language.',
|
'descrl1' => 'Select your language.',
|
||||||
'descrl2' => '<a class="hint" onclick="toggleinfo();">Not in the list?</a>',
|
'descrl2' => '<a class="hint" onclick="toggleinfo();">Not in the list?</a>',
|
||||||
|
|
||||||
'descrlang' =>
|
'descrlang' => 'If you don\'t see your language in this list, you might want to see if there is <a href="http://wiki.flatpress.org/res:language">a language pack</a> for this version:
|
||||||
|
|
||||||
'If you don\'t see your language in this list, you might want to see if there is <a href="http://wiki.flatpress.org/res:language">a language pack</a> for this version:
|
|
||||||
|
|
||||||
<pre>%s</pre>
|
<pre>%s</pre>
|
||||||
|
|
||||||
To install the language pack, upload the content of the package in your <code>flatpress/</code>, and overwrite all, then <a href="./setup.php">restart this setup</a>.',
|
To install the language pack, upload the content of the package in your <code>flatpress/</code>, and overwrite all, then <a href="./setup.php">restart this setup</a>.',
|
||||||
|
|
||||||
'descrw' =>
|
'descrw' => 'FlatPressが動作するために必須な<strong>たったひとつのこと</strong>は、<em>書き込み可能な</em>ディレクトリを用意することです.
|
||||||
'FlatPressが動作するために必須な<strong>たったひとつのこと</strong>は、<em>書き込み可能な</em>ディレクトリを用意することです.
|
|
||||||
|
|
||||||
次のディレクトリを<a class="hint" href="http://wiki.flatpress.org/doc:setup#making_the_contents_directory_writable">書き込み可能な</a>パーミッションに変更してから続けて下さい.
|
次のディレクトリを<a class="hint" href="http://wiki.flatpress.org/doc:setup#making_the_contents_directory_writable">書き込み可能な</a>パーミッションに変更してから続けて下さい.
|
||||||
|
|
||||||
<pre>%s</pre>'
|
<pre>%s</pre>'
|
||||||
|
);
|
||||||
);
|
|
||||||
|
$lang ['step2'] = array(
|
||||||
$lang['step2'] = array (
|
'head' => '管理ユーザの作成',
|
||||||
'head' => '管理ユーザの作成',
|
'descr' => '次の各欄にご記入ください:',
|
||||||
'descr' =>
|
'fpuser' => 'ユーザ名',
|
||||||
'次の各欄にご記入ください:',
|
'fppwd' => 'ログインパスワード(英数6文字以上)',
|
||||||
'fpuser' => 'ユーザ名',
|
'fppwd2' => 'ログインパスワードの再入力',
|
||||||
'fppwd' => 'ログインパスワード(英数6文字以上)',
|
'www' => 'ホームページurl',
|
||||||
'fppwd2' => 'ログインパスワードの再入力',
|
'email' => 'E-Mailアドレス'
|
||||||
'www' => 'ホームページurl',
|
);
|
||||||
'email' => 'E-Mailアドレス'
|
|
||||||
|
$lang ['step3'] = array(
|
||||||
);
|
'head' => 'はい, おしまいです',
|
||||||
|
'descr' => '<strong>作業は終了しました</strong>.
|
||||||
$lang['step3'] = array (
|
|
||||||
'head' => 'はい, おしまいです',
|
|
||||||
'descr' =>
|
|
||||||
'<strong>作業は終了しました</strong>.
|
|
||||||
|
|
||||||
信じられないって?
|
信じられないって?
|
||||||
|
|
||||||
@ -77,28 +68,24 @@ LangId: Japanese
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
最後に, FlatPress を選んでくださって感謝申し上げます!'
|
最後に, FlatPress を選んでくださって感謝申し上げます!'
|
||||||
|
);
|
||||||
);
|
|
||||||
|
$lang ['buttonbar'] = array(
|
||||||
$lang['buttonbar'] = array(
|
'next' => 'Next >'
|
||||||
'next' => 'Next >'
|
);
|
||||||
);
|
|
||||||
|
$lang ['samplecontent'] = array();
|
||||||
$lang['samplecontent'] = array();
|
|
||||||
|
$lang ['samplecontent'] ['menu'] ['subject'] = 'Menu';
|
||||||
$lang['samplecontent']['menu']['subject'] = 'Menu';
|
$lang ['samplecontent'] ['menu'] ['content'] = '[list]
|
||||||
$lang['samplecontent']['menu']['content'] = <<<MENU
|
|
||||||
[list]
|
|
||||||
[*][url=?]Home[/url]
|
[*][url=?]Home[/url]
|
||||||
[*][url=?paged=1]Blog[/url]
|
[*][url=?paged=1]Blog[/url]
|
||||||
[*][url=static.php?page=about]About[/url]
|
[*][url=static.php?page=about]About[/url]
|
||||||
[*][url=contact.php]Contact[/url]
|
[*][url=contact.php]Contact[/url]
|
||||||
[/list]
|
[/list]';
|
||||||
MENU;
|
|
||||||
|
|
||||||
$lang['samplecontent']['entry']['subject'] = 'Welcome to FlatPress!' ;
|
$lang ['samplecontent'] ['entry'] ['subject'] = 'Welcome to FlatPress!';
|
||||||
$lang['samplecontent']['entry']['content'] = <<<CONT
|
$lang ['samplecontent'] ['entry'] ['content'] = 'This is a sample entry, posted to show you some of the features of [url=http://www.flatpress.org]FlatPress[/url].
|
||||||
This is a sample entry, posted to show you some of the features of [url=http://www.flatpress.org]FlatPress[/url].
|
|
||||||
|
|
||||||
The more tag allows you to create a "jump" between an excerpt and the complete article.
|
The more tag allows you to create a "jump" between an excerpt and the complete article.
|
||||||
|
|
||||||
@ -114,7 +101,7 @@ There are also [b]quote[/b] blocks to display your favourite quotations.
|
|||||||
[/quote]
|
[/quote]
|
||||||
|
|
||||||
[code]
|
[code]
|
||||||
and 'code' displays your snippets in a monospaced fashion
|
and \'code\' displays your snippets in a monospaced fashion
|
||||||
[/code]
|
[/code]
|
||||||
|
|
||||||
img and url tag have also special options. You can find out more on the [url=http://www.flatpress.org]FP official website[/url].
|
img and url tag have also special options. You can find out more on the [url=http://www.flatpress.org]FP official website[/url].
|
||||||
@ -136,7 +123,7 @@ We have created some more sample content, to show you some of the FP well hidden
|
|||||||
|
|
||||||
[h4]Widgets[/h4]
|
[h4]Widgets[/h4]
|
||||||
|
|
||||||
There isn't a single fixed element in the sidebar(s). All the elements you can find in the bars sourrounding this text are completely positionable, and most of them are customizable as well. Some themes even provide a panel interface in the admin area.
|
There isn\'t a single fixed element in the sidebar(s). All the elements you can find in the bars sourrounding this text are completely positionable, and most of them are customizable as well. Some themes even provide a panel interface in the admin area.
|
||||||
|
|
||||||
These elements are called [url=http://wiki.flatpress.org/doc:widgets]widgets[/url].
|
These elements are called [url=http://wiki.flatpress.org/doc:widgets]widgets[/url].
|
||||||
|
|
||||||
@ -148,9 +135,9 @@ For more on widgets and [url=http://wiki.flatpress.org/doc:tips:widgets]some tip
|
|||||||
Want to see more?
|
Want to see more?
|
||||||
|
|
||||||
[list]
|
[list]
|
||||||
[*]Follow the [url=http://www.flatpress.org/home/blog.php]official blog[/url] to know what's going on in the FlatPress world
|
[*]Follow the [url=http://www.flatpress.org/home/blog.php]official blog[/url] to know what\'s going on in the FlatPress world
|
||||||
[*]Go to the [url=http://www.flatpress.org/forums/categories.php]forums[/url] for support and chit-chat
|
[*]Go to the [url=http://www.flatpress.org/forums/categories.php]forums[/url] for support and chit-chat
|
||||||
[*]Get [b]great themes[/b] on the [url=http://themes.flatpress.org]editor's pick[/url] site or choose from [url=http://wiki.flatpress.org/res:themes]other users' submissions[/url]!
|
[*]Get [b]great themes[/b] on the [url=http://themes.flatpress.org]editor\'s pick[/url] site or choose from [url=http://wiki.flatpress.org/res:themes]other users\' submissions[/url]!
|
||||||
[*]Check out the [url=http://wiki.flatpress.org/res:plugins]unofficial plugins[/url]
|
[*]Check out the [url=http://wiki.flatpress.org/res:plugins]unofficial plugins[/url]
|
||||||
[*]Get [url=http://wiki.flatpress.org/res:language]translation pack[/url] for your language
|
[*]Get [url=http://wiki.flatpress.org/res:language]translation pack[/url] for your language
|
||||||
[/list]
|
[/list]
|
||||||
@ -175,11 +162,9 @@ Have fun! :)
|
|||||||
|
|
||||||
[i][url=http://www.nowhereland.it]NoWhereMan[/url] and the FlatPress Team[/i]
|
[i][url=http://www.nowhereland.it]NoWhereMan[/url] and the FlatPress Team[/i]
|
||||||
|
|
||||||
CONT;
|
';
|
||||||
|
|
||||||
|
$lang ['samplecontent'] ['about'] ['subject'] = 'About';
|
||||||
$lang['samplecontent']['about']['subject'] = 'About';
|
$lang ['samplecontent'] ['about'] ['content'] = "Write something about yourself here ([url=admin.php?p=static&action=write&page=about]Edit me![/url])";
|
||||||
$lang['samplecontent']['about']['content'] =
|
|
||||||
"Write something about yourself here ([url=admin.php?p=static&action=write&page=about]Edit me![/url])";
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -3,10 +3,9 @@
|
|||||||
* LangId: English
|
* LangId: English
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//TERMINADO!
|
// TERMINADO!
|
||||||
|
|
||||||
$lang ['locked'] = array(
|
$lang ['locked'] = array(
|
||||||
'head' => 'A instalação foi bloqueada.',
|
'head' => 'A instalação foi bloqueada.',
|
||||||
'descr' => 'Parece que você já executou a instalação, porque
|
'descr' => 'Parece que você já executou a instalação, porque
|
||||||
encontramos o arquivo de bloqueio. <code>%s</code>.
|
encontramos o arquivo de bloqueio. <code>%s</code>.
|
||||||
|
|
||||||
@ -21,7 +20,7 @@ encontramos o arquivo de bloqueio. <code>%s</code>.
|
|||||||
);
|
);
|
||||||
|
|
||||||
$lang ['step1'] = array(
|
$lang ['step1'] = array(
|
||||||
'head' => 'Bem-vindo ao FlatPress!',
|
'head' => 'Bem-vindo ao FlatPress!',
|
||||||
'descr' => 'Obrigado por escolher <strong>o FlatPress</strong>.
|
'descr' => 'Obrigado por escolher <strong>o FlatPress</strong>.
|
||||||
|
|
||||||
Antes de começar a se divertir com seu novo blog, precisamos fazer algumas perguntas.
|
Antes de começar a se divertir com seu novo blog, precisamos fazer algumas perguntas.
|
||||||
@ -40,17 +39,17 @@ $lang ['step1'] = array(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$lang ['step2'] = array(
|
$lang ['step2'] = array(
|
||||||
'head' => 'Crie usário',
|
'head' => 'Crie usário',
|
||||||
'descr' => 'Você já está quase pronto, preencha os seguintes detalhes:',
|
'descr' => 'Você já está quase pronto, preencha os seguintes detalhes:',
|
||||||
'fpuser'=> 'Nome de usário',
|
'fpuser' => 'Nome de usário',
|
||||||
'fppwd' => 'Senha',
|
'fppwd' => 'Senha',
|
||||||
'fppwd2'=> 'Digite a senha de novo.',
|
'fppwd2' => 'Digite a senha de novo.',
|
||||||
'www' => 'Website',
|
'www' => 'Website',
|
||||||
'email' => 'E-Mail'
|
'email' => 'E-Mail'
|
||||||
);
|
);
|
||||||
|
|
||||||
$lang ['step3'] = array(
|
$lang ['step3'] = array(
|
||||||
'head' => 'Pronto!',
|
'head' => 'Pronto!',
|
||||||
'descr' => '<strong>Fim da história!</strong>.
|
'descr' => '<strong>Fim da história!</strong>.
|
||||||
|
|
||||||
Inacreditável?
|
Inacreditável?
|
||||||
@ -67,26 +66,23 @@ $lang ['step3'] = array(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$lang ['buttonbar'] = array(
|
$lang ['buttonbar'] = array(
|
||||||
'next' => 'Próximo >'
|
'next' => 'Próximo >'
|
||||||
);
|
);
|
||||||
|
|
||||||
$lang ['samplecontent'] = array();
|
$lang ['samplecontent'] = array();
|
||||||
|
|
||||||
$lang ['samplecontent'] ['menu'] ['subject'] = 'Menu';
|
$lang ['samplecontent'] ['menu'] ['subject'] = 'Menu';
|
||||||
$lang ['samplecontent'] ['menu'] ['content'] = <<<MENU
|
$lang ['samplecontent'] ['menu'] ['content'] = '[list]
|
||||||
[list]
|
|
||||||
[*][url=?]Início[/url]
|
[*][url=?]Início[/url]
|
||||||
[*][url=?paged=1]Blog[/url]
|
[*][url=?paged=1]Blog[/url]
|
||||||
[*][url=static.php?page=about]Sobre[/url]
|
[*][url=static.php?page=about]Sobre[/url]
|
||||||
[*][url=contact.php]Contato[/url]
|
[*][url=contact.php]Contato[/url]
|
||||||
[/list]
|
[/list]';
|
||||||
MENU;
|
|
||||||
|
|
||||||
$lang ['samplecontent'] ['entry'] ['subject'] = 'Bem vindo ao FlatPress!';
|
$lang ['samplecontent'] ['entry'] ['subject'] = 'Bem vindo ao FlatPress!';
|
||||||
$lang ['samplecontent'] ['entry'] ['content'] = <<<CONT
|
$lang ['samplecontent'] ['entry'] ['content'] = 'Esta é uma entrada de amostra, postada para mostrar alguns dos recursos do [url=https://www.flatpress.org]FlatPress[/url].
|
||||||
Esta é uma entrada de amostra, postada para mostrar alguns dos recursos do [url=https://www.flatpress.org]FlatPress[/url].
|
|
||||||
|
|
||||||
A tag 'more' permite criar um "salto" entre um trecho e o artigo completo.
|
A tag \'more\' permite criar um "salto" entre um trecho e o artigo completo.
|
||||||
|
|
||||||
[more]
|
[more]
|
||||||
|
|
||||||
@ -97,7 +93,7 @@ A maneira padrão de estilizar e formatar seu conteúdo é [url=http://wiki.flat
|
|||||||
|
|
||||||
[quote]Também existem[b]quote[/b] blocos para exibir suas cotações favoritas. [/quote]
|
[quote]Também existem[b]quote[/b] blocos para exibir suas cotações favoritas. [/quote]
|
||||||
|
|
||||||
[code] E 'code' exibe seus trechos de maneira monoespaçada. Também suporta conteúdo recuado. [/code]
|
[code] E \'code\' exibe seus trechos de maneira monoespaçada. Também suporta conteúdo recuado. [/code]
|
||||||
|
|
||||||
img e url tag têm opções especiais. Pode descobrir mais no [url=https://wiki.flatpress.org/doc:plugins:bbcode]FP wiki[/url].
|
img e url tag têm opções especiais. Pode descobrir mais no [url=https://wiki.flatpress.org/doc:plugins:bbcode]FP wiki[/url].
|
||||||
|
|
||||||
@ -160,7 +156,7 @@ Diverta-se! :-)
|
|||||||
|
|
||||||
[i]A Tripulação de [url=https://www.flatpress.org]FlatPress[/url][/i]
|
[i]A Tripulação de [url=https://www.flatpress.org]FlatPress[/url][/i]
|
||||||
|
|
||||||
CONT;
|
';
|
||||||
|
|
||||||
$lang ['samplecontent'] ['about'] ['subject'] = 'Sobre';
|
$lang ['samplecontent'] ['about'] ['subject'] = 'Sobre';
|
||||||
$lang ['samplecontent'] ['about'] ['content'] = "Escreva algo sobre você aqui. ([url=admin.php?p=static&action=write&page=about]Me edite![/url])";
|
$lang ['samplecontent'] ['about'] ['content'] = "Escreva algo sobre você aqui. ([url=admin.php?p=static&action=write&page=about]Me edite![/url])";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user