fixed some URLs here and there

This commit is contained in:
azett 2019-02-16 17:21:16 +01:00
parent 1ec8be2cfe
commit 06482d9292
3 changed files with 478 additions and 559 deletions

View File

@ -1,7 +1,6 @@
<?php
function theme_loadsettings() {
function theme_loadsettings() {
global $fp_config, $theme, $FLATPRESS;
$theme = array(
@ -10,7 +9,7 @@
// author of the theme
'author' => 'anonymous',
// theme website
'www' => 'http://flatpress.nowhereland.it',
'www' => 'https://www.flatpress.org',
// fp version
'version' => -1,
// default style (must be in res/ dir
@ -19,7 +18,7 @@
'style_def' => 'style.css',
// default style for admin panel (usually it's the same of the theme)
'style_admin' => 'style.css',
'style_admin' => 'style.css'
),
// if false a default css is used to style some elements of the panel
@ -27,10 +26,8 @@
'admin_custom_interf' => false
);
if (!defined('THE_THEME'))
define('THE_THEME', $fp_config['general']['theme']);
define('THE_THEME', $fp_config ['general'] ['theme']);
// backward compatibility:
$conf1 = THEMES_DIR . THE_THEME . '/theme_conf.php';
@ -42,127 +39,109 @@
ob_start();
if (file_exists($conf2)) {
include($conf2);
include ($conf2);
} elseif (file_exists($conf1)) {
include($conf1);
include ($conf1);
}
if (!defined('THEME_LEGACY_MODE')) {
if ($theme['version'] < 0.702) {
if ($theme ['version'] < 0.702) {
define('THEME_LEGACY_MODE', true);
theme_register_default_widgetsets();
} else {
define('THEME_LEGACY_MODE', false);
if (isset($theme['default_style'])) {
if (isset($theme ['default_style'])) {
if (!isset($fp_config['general']['style']))
$fp_config['general']['style'] = $theme['default_style'];
if (!isset($fp_config ['general'] ['style']))
$fp_config ['general'] ['style'] = $theme ['default_style'];
include (THEMES_DIR . THE_THEME . "/{$fp_config['general']['style']}/style.conf.php");
include(THEMES_DIR . THE_THEME . "/{$fp_config['general']['style']}/style.conf.php");
$theme['style'] = $style;
$theme ['style'] = $style;
} else {
$theme ['style'] = array(
$theme['style'] = array(
'style_def' => $theme['style_def']? $theme['style_def'] : 'style.css',
'style_admin' => $theme['style_admin']? $theme['style_admin'] : 'style.css',
'style_def' => $theme ['style_def'] ? $theme ['style_def'] : 'style.css',
'style_admin' => $theme ['style_admin'] ? $theme ['style_admin'] : 'style.css'
);
}
}
// no widgets registered, load default set
if (!get_registered_widgets())
theme_register_default_widgetsets();
}
ob_end_clean();
return $theme;
}
}
function theme_register_default_widgetsets() {
function theme_register_default_widgetsets() {
register_widgetset('left');
register_widgetset('right');
register_widgetset('top');
register_widgetset('bottom');
}
}
function theme_getdir($id = THE_THEME) {
function theme_getdir($id = THE_THEME) {
return theme_exists($id);
}
}
function theme_exists($id) {
function theme_exists($id) {
// quick fix for win
$f = THEMES_DIR . ($id);
if (file_exists($f))
return $f .'/';
return $f . '/';
return '';
}
}
function theme_style_exists($id, $themeid=THE_THEME) {
function theme_style_exists($id, $themeid = THE_THEME) {
if ($f = theme_exists($themeid)) {
if (file_exists($f))
return $f . '/';
}
return '';
}
}
function theme_geturl($id = THE_THEME) {
function theme_geturl($id = THE_THEME) {
return BLOG_BASEURL . THEMES_DIR . $id . '/';
}
}
function theme_style_geturl($style, $id=THE_THEME) {
function theme_style_geturl($style, $id = THE_THEME) {
return theme_geturl($id) . $style . '/';
}
}
function theme_list() {
function theme_list() {
$dir = THEMES_DIR;
$dh = opendir($dir);
$i = 0;
while (false !== ($filename = readdir($dh))) {
if ( ($filename != '.') && ($filename != '..') ) {
$files[$i++] = $filename;
if (($filename != '.') && ($filename != '..')) {
$files [$i++] = $filename;
}
}
sort($files);
return $files;
}
}
function theme_wp_head() {
function theme_wp_head() {
global $fp_config;
echo "\n<!-- FP STD HEADER -->\n";
echo "\n<meta name=\"generator\" content=\"FlatPress ". system_ver() ."\" />\n";
echo "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"Get RSS 2.0 Feed\" href=\"".
theme_feed_link('rss2')
."\" />\n";
echo "\n<meta name=\"generator\" content=\"FlatPress " . system_ver() . "\" />\n";
echo "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"Get RSS 2.0 Feed\" href=\"" . theme_feed_link('rss2') . "\" />\n";
echo "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"Get Atom 1.0 Feed\" href=\"".
theme_feed_link('atom')
."\" />\n";
echo "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"Get Atom 1.0 Feed\" href=\"" . theme_feed_link('atom') . "\" />\n";
echo "<!-- EOF FP STD HEADER -->\n";
}
function theme_head_stylesheet() {
}
function theme_head_stylesheet() {
global $fp_config, $theme;
echo "\n<!-- FP STD STYLESHEET -->\n";
@ -171,108 +150,93 @@
echo '<link media="screen" href="';
echo BLOG_BASEURL . THEMES_DIR . THE_THEME;
$css = defined('MOD_ADMIN_PANEL') ? $theme ['style'] ['style_admin'] : $theme ['style'] ['style_def'];
$css = defined('MOD_ADMIN_PANEL')?
$theme['style']['style_admin'] : $theme['style']['style_def'];
$substyle = '/' . (isset($fp_config ['general'] ['style']) ? $fp_config ['general'] ['style'] . '/' : '');
$substyle = '/'. (isset($fp_config['general']['style'])? $fp_config['general']['style'].'/' : '');
echo $substyle . 'res/' . $css . '" type="text/css" rel="stylesheet" />';
echo $substyle . 'res/'. $css .'" type="text/css" rel="stylesheet" />';
if (@$theme['style']['style_print']) {
if (@$theme ['style'] ['style_print']) {
echo '<link media="print" href="';
echo BLOG_BASEURL . THEMES_DIR . THE_THEME;
echo $substyle . 'res/'. $theme['style']['style_print'] .'" type="text/css" rel="stylesheet" />';
echo $substyle . 'res/' . $theme ['style'] ['style_print'] . '" type="text/css" rel="stylesheet" />';
}
echo "\n<!-- FP STD STYLESHEET -->\n";
}
}
function admin_head_action() {
function admin_head_action() {
global $theme;
if (!$theme['admin_custom_interface'])
echo '<link media="screen" href="'.BLOG_BASEURL.'admin/res/admin.css" type="text/css" rel="stylesheet" />';
}
if (!$theme ['admin_custom_interface'])
echo '<link media="screen" href="' . BLOG_BASEURL . 'admin/res/admin.css" type="text/css" rel="stylesheet" />';
}
add_filter('admin_head', 'admin_head_action');
add_filter('admin_head', 'admin_head_action');
add_action('wp_head', 'theme_wp_head');
add_action('wp_head', 'theme_head_stylesheet');
add_action('wp_head', 'theme_wp_head');
add_action('wp_head', 'theme_head_stylesheet');
function get_wp_head() {
function get_wp_head() {
do_action('wp_head');
if (class_exists('AdminPanel'))
do_action('admin_head');
}
}
$smarty->register_function('header', 'get_wp_head');
$smarty->register_function('header', 'get_wp_head');
function theme_wp_footer() {
function theme_wp_footer() {
global $fp_config;
echo $fp_config['general']['footer'];
}
echo $fp_config ['general'] ['footer'];
}
add_action('wp_footer', 'theme_wp_footer');
add_action('wp_footer', 'theme_wp_footer');
function get_wp_footer() {
function get_wp_footer() {
do_action('wp_footer');
}
}
$smarty->register_function('footer', 'get_wp_footer');
$smarty->register_function('footer', 'get_wp_footer');
function theme_charset() {
function theme_charset() {
global $fp_config;
header('Content-Type: text/html; charset='. $fp_config['general']['charset']);
header('Content-Type: text/html; charset=' . $fp_config ['general'] ['charset']);
}
}
add_action('init', 'theme_charset');
function theme_init(&$smarty) { /* &$mode */
add_action('init', 'theme_charset');
function theme_init(&$smarty) { /* &$mode */
global $fp_config, $lang, $theme, $fp_params;
// avoid compiled tpl collision (i.e. change theme without this and cry)
$smarty->compile_id = md5($fp_config['general']['theme']);
$smarty->template_dir = ABS_PATH . THEMES_DIR . $fp_config['general']['theme'] . '/';
$smarty->compile_id = md5($fp_config ['general'] ['theme']);
$smarty->template_dir = ABS_PATH . THEMES_DIR . $fp_config ['general'] ['theme'] . '/';
$loggedin = user_loggedin();
$flatpress = $fp_config['general'];
$flatpress = $fp_config ['general'];
// retained for compatibility
// todo: ugly, clean this up
// smarty has constant facilities included ^_^
//$flatpress['FP_INTERFACE'] = FP_INTERFACE;
//$flatpress['BLOGURL'] = BLOG_BASEURL;
// $flatpress['FP_INTERFACE'] = FP_INTERFACE;
// $flatpress['BLOGURL'] = BLOG_BASEURL;
$flatpress['loggedin'] = $loggedin;
$flatpress ['loggedin'] = $loggedin;
if ($loggedin)
$flatpress['user'] = user_get();
$flatpress ['user'] = user_get();
// useful shorthand for themes
// e.g. {$flatpress.themeurl}imgs/myimage.png
if (isset($fp_config['general']['style'])) {
$themeurl = theme_style_geturl($fp_config['general']['style']);
if (isset($fp_config ['general'] ['style'])) {
$themeurl = theme_style_geturl($fp_config ['general'] ['style']);
} else {
$themeurl = theme_geturl();
}
$flatpress['themeurl'] = $themeurl;
$flatpress ['themeurl'] = $themeurl;
$flatpress['params'] = $fp_params;
$flatpress ['params'] = $fp_params;
$flatpress_upper = array_change_key_case($flatpress, CASE_UPPER);
@ -282,20 +246,17 @@
$smarty->assign('lang', $lang);
$smarty->assign('blogtitle', $fp_config['general']['title']);
$smarty->assign('blogtitle', $fp_config ['general'] ['title']);
$smarty->assign('pagetitle',
apply_filters('wp_title', "", '&laquo;'));
$smarty->assign('pagetitle', apply_filters('wp_title', "", '&laquo;'));
$smarty->assign_by_ref('fp_config', $fp_config);
$smarty->register_modifier('tag', 'theme_apply_filters_wrapper');
$smarty->register_modifier('link', 'theme_apply_filters_link_wrapper');
$smarty->register_modifier('filed', 'theme_entry_categories');
if (!isset($fp_params['feed']) || empty($fp_params['feed'])) {
if (!isset($fp_params ['feed']) || empty($fp_params ['feed'])) {
$smarty->register_modifier('date_format_daily', 'theme_smarty_modifier_date_format_daily');
$smarty->register_modifier('date_format', 'theme_date_format');
}
@ -305,51 +266,44 @@
$smarty->register_function('action', 'theme_smarty_function_action');
do_action('theme_init');
}
}
function smarty_block_page($params, $content) {
function smarty_block_page($params, $content) {
return $content;
}
}
$smarty->register_block('page', 'smarty_block_page');
$smarty->register_block('page', 'smarty_block_page');
function theme_apply_filters_wrapper($var, $hook) {
function theme_apply_filters_wrapper($var, $hook) {
$args = func_get_args();
$tmp = $args[0];
$args[0] = $args[1];
$args[1] = $tmp;
$tmp = $args [0];
$args [0] = $args [1];
$args [1] = $tmp;
return call_user_func_array('apply_filters', $args);
}
}
function theme_apply_filters_link_wrapper($var, $hook) {
function theme_apply_filters_link_wrapper($var, $hook) {
// MODIFIER: id, type, feed
// FILTER: type, oldlink, feed, id
$args = func_get_args();
// delete id
$id = $args[0];
unset($args[0]);
$id = $args [0];
unset($args [0]);
// put it at the end
$args[] = $id;
$args [] = $id;
// insert empty string between type and feed
array_splice($args, 1, 0, '');
return call_user_func_array('apply_filters', $args);
}
}
function theme_smarty_function_action($params, &$smarty) {
if (isset($params ['hook']))
do_action($params ['hook']);
}
function theme_smarty_function_action($params, &$smarty) {
if (isset($params['hook']))
do_action($params['hook']);
}
function theme_date_format($string, $format = null, $default_date = '') {
function theme_date_format($string, $format = null, $default_date = '') {
$timestamp = 0;
if ($string) {
@ -362,23 +316,17 @@
if (is_null($format)) {
global $fp_config;
$format = $fp_config['locale']['timeformat'];
$format = $fp_config ['locale'] ['timeformat'];
}
return date_strformat($format, $timestamp);
}
}
function theme_smarty_modifier_date_format_daily(
$string, $format = null, $default_date = '' ) {
function theme_smarty_modifier_date_format_daily($string, $format = null, $default_date = '') {
global $THEME_CURRENT_DAY, $lang, $fp_config;
if (is_null($format))
$format = $fp_config['locale']['dateformat'];
$format = $fp_config ['locale'] ['dateformat'];
$current_day = theme_date_format($string, $format, $default_date);
@ -386,29 +334,22 @@
$THEME_CURRENT_DAY = $current_day;
return $current_day;
}
return '';
}
}
/**
/**
* Get date in RFC3339
* For example used in XML/Atom
*
* @param integer $timestamp
* @return string date in RFC3339
* @author Boris Korobkov
* @see http://tools.ietf.org/html/rfc3339
*
* http://it.php.net/manual/en/function.date.php#75757
* @see http://tools.ietf.org/html/rfc3339 http://it.php.net/manual/en/function.date.php#75757
*
*/
function theme_smarty_modifier_date_rfc3339($timestamp='') {
function theme_smarty_modifier_date_rfc3339($timestamp = '') {
if (!$timestamp) {
$timestamp = time();
}
@ -417,131 +358,113 @@
$matches = array();
if (preg_match('/^([\-+])(\d{2})(\d{2})$/', date('O', $timestamp), $matches)) {
$date .= $matches[1].$matches[2].':'.$matches[3];
$date .= $matches [1] . $matches [2] . ':' . $matches [3];
} else {
$date .= 'Z';
}
return $date;
}
}
// {{{ permalink, commentlink, staticlink: filters
add_filter('feed_link', 'theme_def_feed_link', 0, 2);
// {{{ permalink, commentlink, staticlink: filters
add_filter('feed_link', 'theme_def_feed_link', 0, 2);
function theme_def_feed_link($str, $type) {
function theme_def_feed_link($str, $type) {
return BLOG_BASEURL . "?x=feed:{$type}";
}
function theme_feed_link ($feed='rss2') {
}
function theme_feed_link($feed = 'rss2') {
return apply_filters('feed_link', '', $feed);
}
}
add_filter('post_comments_feed_link', 'theme_def_feed_comments_link', 0, 3);
function theme_def_feed_comments_link($str, $feed, $id) {
add_filter('post_comments_feed_link', 'theme_def_feed_comments_link', 0, 3);
function theme_def_feed_comments_link($str, $feed, $id) {
return BLOG_BASEURL . "?x=entry:$id;comments:1;feed:{$feed}";
}
function theme_comments_feed_link ($feed='rss2', $id) {
}
function theme_comments_feed_link($feed = 'rss2', $id) {
return apply_filters('post_comments_feed_link', '', $feed, $id);
}
}
add_filter('post_link', 'theme_def_permalink', 0, 2);
add_filter('post_link', 'theme_def_permalink', 0, 2);
function theme_def_permalink($str, $id) {
function theme_def_permalink($str, $id) {
return BLOG_BASEURL . "?x=entry:$id";
}
function get_permalink ($id) {
}
function get_permalink($id) {
return apply_filters('post_link', '', $id);
}
}
add_filter('comments_link', 'theme_def_commentlink', 0, 2);
function theme_def_commentlink($str, $id) {
add_filter('comments_link', 'theme_def_commentlink', 0, 2);
function theme_def_commentlink($str, $id) {
return BLOG_BASEURL . "?x=entry:$id;comments:1";
}
function get_comments_link ($id) {
}
function get_comments_link($id) {
return apply_filters('comments_link', '', $id);
}
}
add_filter('page_link', 'theme_def_staticlink', 0, 2);
add_filter('page_link', 'theme_def_staticlink', 0, 2);
function theme_def_staticlink($str, $id) {
function theme_def_staticlink($str, $id) {
return BLOG_BASEURL . "?page=$id";
}
function theme_staticlink ($id) {
}
function theme_staticlink($id) {
return apply_filters('page_link', '', $id);
}
}
add_filter('category_link', 'theme_def_catlink', 0, 2);
function theme_def_catlink($str, $catid) {
add_filter('category_link', 'theme_def_catlink', 0, 2);
function theme_def_catlink($str, $catid) {
return BLOG_BASEURL . "?x=cat:$catid";
}
function get_category_link($catid) {
}
function get_category_link($catid) {
return apply_filters('category_link', '', $catid);
}
}
function get_year_link($year) {
return wp_specialchars(apply_filters('year_link', BLOG_BASEURL . '?x=y:' . str_pad($year, 2, '0', STR_PAD_LEFT), $year));
}
function get_year_link($year) {
return wp_specialchars(
apply_filters(
'year_link',
BLOG_BASEURL . '?x=y:'. str_pad($year, 2, '0', STR_PAD_LEFT),
$year)
);
}
function get_month_link($year, $month) {
return wp_specialchars(apply_filters('month_link', BLOG_BASEURL . '?x=y:' . str_pad($year, 2, '0', STR_PAD_LEFT) . ';m:' . str_pad($month, 2, '0', STR_PAD_LEFT), $year, $month));
}
function get_month_link($year, $month) {
return wp_specialchars(
apply_filters(
'month_link',
BLOG_BASEURL . '?x=y:'. str_pad($year, 2, '0', STR_PAD_LEFT) .
';m:' . str_pad($month, 2, '0', STR_PAD_LEFT),
$year,
$month)
);
}
function get_day_link($year, $month, $day) {
return wp_specialchars(apply_filters('day_link', BLOG_BASEURL . '?x=y:' . str_pad($year, 2, '0', STR_PAD_LEFT) . ';m:' . str_pad($month, 2, '0', STR_PAD_LEFT) . ';d:' . str_pad($day, 2, '0', STR_PAD_LEFT), $year, $month, $day));
}
function get_day_link($year, $month, $day) {
return wp_specialchars(
apply_filters(
'day_link',
BLOG_BASEURL . '?x=y:'. str_pad($year, 2, '0', STR_PAD_LEFT)
. ';m:' . str_pad($month, 2, '0', STR_PAD_LEFT)
. ';d:' . str_pad($day, 2, '0', STR_PAD_LEFT),
$year,
$month,
$day)
);
}
// }}}
function theme_entry_commentcount($count) {
// }}}
function theme_entry_commentcount($count) {
global $lang;
switch ($count) {
case 0: return $comments = $lang['main']['nocomments'];
case 1: return $comments = $lang['main']['comment'];
default: return $comments = $count . ' ' . $lang['main']['comments'];
case 0:
return $comments = $lang ['main'] ['nocomments'];
case 1:
return $comments = $lang ['main'] ['comment'];
default:
return $comments = $count . ' ' . $lang ['main'] ['comments'];
}
}
add_filter('comments_number', 'theme_entry_commentcount');
}
add_filter('comments_number', 'theme_entry_commentcount');
function theme_entry_categories($cats, $link = true, $separator=', ') {
function theme_entry_categories($cats, $link = true, $separator = ', ') {
if (!$cats) {
return;
} else {
$filed=array();
$filed = array();
if ($tmp1 = entry_categories_get('defs')) {
foreach ($tmp1 as $k=>$c) {
if(array_intersect(array($k),$cats)) {
$filed[] = $link? "<a href=\"" . get_category_link($k) ."\">$c</a>" : $c;
foreach ($tmp1 as $k => $c) {
if (array_intersect(array(
$k
), $cats)) {
$filed [] = $link ? "<a href=\"" . get_category_link($k) . "\">$c</a>" : $c;
}
}
}
@ -549,47 +472,43 @@
return implode($separator, $filed);
}
}
}
/*
this is called only in legacy mode
}
/*
* this is called only in legacy mode
*
*/
// {{{ ENTRY
function &theme_entry_filters(&$contentarr, $id = null) {
$contentarr ['subject'] = apply_filters('the_title', $contentarr ['subject']);
// {{{ ENTRY
function &theme_entry_filters(&$contentarr, $id=null) {
$contentarr ['content'] = apply_filters('the_content', $contentarr ['content']);
$contentarr['subject']=apply_filters('the_title', $contentarr['subject']);
$contentarr['content'] = apply_filters('the_content', $contentarr['content']);
if (isset($contentarr['comments'])) {
$contentarr['commentcount'] = $contentarr['comments'];
$contentarr['comments'] = apply_filters('comments_number', $contentarr['commentcount']);
if (isset($contentarr ['comments'])) {
$contentarr ['commentcount'] = $contentarr ['comments'];
$contentarr ['comments'] = apply_filters('comments_number', $contentarr ['commentcount']);
}
$contentarr['permalink']=get_permalink($id);
$contentarr ['permalink'] = get_permalink($id);
$contentarr['commentlink']=get_comments_link($id);
$contentarr ['commentlink'] = get_comments_link($id);
return $contentarr;
}
}
//{{{ COMMENTS
function &theme_comments_filters(&$contentarr, $key) {
$contentarr['name']=apply_filters('comment_author_name', $contentarr['name']);
if (isset($contentarr['email'])) {
$contentarr['email']=apply_filters('comment_author_email', $contentarr['email']);
$contentarr['mailto'] = 'mailto:' . $contentarr['email'];
// {{{ COMMENTS
function &theme_comments_filters(&$contentarr, $key) {
$contentarr ['name'] = apply_filters('comment_author_name', $contentarr ['name']);
if (isset($contentarr ['email'])) {
$contentarr ['email'] = apply_filters('comment_author_email', $contentarr ['email']);
$contentarr ['mailto'] = 'mailto:' . $contentarr ['email'];
}
if (!isset($contentarr['url'])) $contentarr['url'] = '#';
$contentarr['timestamp']=$contentarr['date'];
$contentarr['content']=apply_filters('comment_text', $contentarr['content']);
if (!isset($contentarr ['url']))
$contentarr ['url'] = '#';
$contentarr ['timestamp'] = $contentarr ['date'];
$contentarr ['content'] = apply_filters('comment_text', $contentarr ['content']);
return $contentarr;
}
}
?>

View File

@ -1,2 +1,2 @@
download core and extra plugins from svn (or get it from an old package)
http://flatpress.nowhereland.it
Learn more about FlatPress plugins:
https://www.flatpress.org

View File

@ -26,7 +26,7 @@ $lang ['step1'] = array(
Don\'t worry, it won\'t take you long!',
'descrl1' => 'Select your language.',
'descrl2' => '<a class="hint" onclick="toggleinfo();">Not in the list?</a>',
'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:
'descrlang' => 'If you don\'t see your language in this list, you might want to see if there is <a href="https://wiki.flatpress.org/res:language">a language pack</a> for this version:
<pre>%s</pre>
@ -57,7 +57,7 @@ $lang ['step3'] = array(
<ul>
<li>See <a href="%s">how the home page looks like</a></li>
<li>Have fun! <a href="%s">Login now!</a></li>
<li>Do you feel like dropping us a line? <a href="http://www.flatpress.org/">Go to FlatPress.org!</a></li>
<li>Do you feel like dropping us a line? <a href="https://www.flatpress.org/">Go to FlatPress.org!</a></li>
</ul>
And thank you for choosing FlatPress!'
@ -81,7 +81,7 @@ MENU;
$lang ['samplecontent'] ['entry'] ['subject'] = 'Welcome to FlatPress!';
$lang ['samplecontent'] ['entry'] ['content'] = <<<CONT
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=https://www.flatpress.org]FlatPress[/url].
The more tag allows you to create a "jump" between an excerpt and the complete article.
@ -98,7 +98,7 @@ The default way to style and format your content is [url=http://wiki.flatpress.o
It also supports
indented content.[/code]
img and url tag have also special options. You can find out more on the [url=http://wiki.flatpress.org/doc:plugins:bbcode]FP wiki[/url].
img and url tag have also special options. You can find out more on the [url=https://wiki.flatpress.org/doc:plugins:bbcode]FP wiki[/url].
[h4]Entries (posts) and Static pages[/h4]
@ -110,7 +110,7 @@ Static pages are useful to create general information pages. You can also make o
[h4]Plugins[/h4]
FlatPress is very customizable, and supports [url=http://wiki.flatpress.org/doc:plugins:standard]plugins[/url] to extend its power. BBCode is a plugin itself.
FlatPress is very customizable, and supports [url=https://wiki.flatpress.org/doc:plugins:standard]plugins[/url] to extend its power. BBCode is a plugin itself.
We have created some more sample content, to show you some of the FP well hidden functions and gems :)
You can find two [b]static pages[/b] ready to accept your contents:
@ -124,7 +124,7 @@ You can find two [b]static pages[/b] ready to accept your contents:
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=http://wiki.flatpress.org/doc:tips:widgets]some tips[/url] to get nice effects, take a look at the [url=http://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].
[h4]See more[/h4]
@ -132,21 +132,21 @@ These elements are called [b]widgets[/b]. For more on widgets and [url=http://wi
Want to see more?
[list]
[*]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://flatpress.org/vanilla2/]forums[/url] for support and chit-chat
[*]Get [b]great themes[/b] 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]
[*]Get [url=http://wiki.flatpress.org/res:language]translation pack[/url] for your language
[*]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
[*]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]
[*]Get [url=https://wiki.flatpress.org/res:language]translation pack[/url] for your language
[/list]
[h4]How can I help?[/h4]
[list]
[*][url=http://www.flatpress.org/home/static.php?page=contact]Contact us[/url] to report bugs or suggest improvements.
[*][url=https://www.flatpress.org/contact/]Contact us[/url] to report bugs or suggest improvements.
[*]Contribute to the development of Flatpress on [url="https://github.com/flatpressblog/flatpress"]GitHub[/url].
[*]Translate FlatPress or the documentation into [url=http://wiki.flatpress.org/res:language]your language[/url].
[*]Share your knowledge and get connected with other FlatPress users on the [url=http://flatpress.org/vanilla2/]forums[/url].
[*]Translate FlatPress or the documentation into [url=https://wiki.flatpress.org/res:language]your language[/url].
[*]Share your knowledge and get connected with other FlatPress users on the [url=https://forum.flatpress.org/]forum[/url].
[*]Spread the word! :)
[/list]
@ -157,7 +157,7 @@ Now you can [url=login.php]Login[/url] to get to the [url=admin.php]Control Pane
Have fun! :)
[i]The [url=http://www.flatpress.org]FlatPress[/url] Team[/i]
[i]The [url=https://www.flatpress.org]FlatPress[/url] Team[/i]
CONT;