Compare commits
No commits in common. "86b607cf4ef11a0037690a6935a0de01990bda55" and "e913127d4d468d92a084cbe729fc17ac874500c6" have entirely different histories.
86b607cf4e
...
e913127d4d
13 changed files with 203 additions and 184 deletions
30
admin.tpl
30
admin.tpl
|
@ -1,15 +1,15 @@
|
|||
{include file="cpheader.tpl"}
|
||||
<div id="cpmain">
|
||||
<div class="entry">
|
||||
<ul id="admin-small-nav">
|
||||
<li><a href="index.php">Home</a></li>
|
||||
<li><a href="login.php?do=logout">Logout</a></li>
|
||||
</ul>
|
||||
|
||||
{page}
|
||||
<h1 class="title">{$subject}</h1>
|
||||
<div class="body">{controlpanel}</div>
|
||||
{/page}
|
||||
</div>
|
||||
</div>
|
||||
{include file="footer.tpl"}
|
||||
{include file=cpheader.tpl}
|
||||
<div id="cpmain">
|
||||
<div class="entry">
|
||||
<ul id="admin-small-nav">
|
||||
<li><a href="index.php">Home</a></li>
|
||||
<li><a href="login.php?do=logout">Logout</a></li>
|
||||
</ul>
|
||||
|
||||
{page}
|
||||
<h1 class="title">{$subject}</h1>
|
||||
<div class="body">{controlpanel}</div>
|
||||
{/page}
|
||||
</div>
|
||||
</div>
|
||||
{include file=footer.tpl}
|
72
comments.tpl
72
comments.tpl
|
@ -1,36 +1,36 @@
|
|||
{include file="header.tpl"}
|
||||
<div id="main">
|
||||
{entry_block}
|
||||
{entry}
|
||||
{include file="entry-default.tpl"}
|
||||
{comment_block}
|
||||
<ol id="comments">
|
||||
{comment}
|
||||
<li id="{$id}" {$loggedin|notempty:"class=\"comment-admin\""}>
|
||||
<strong class='comment-name'>
|
||||
{$url|notempty:"<a href=\"$url\" title=\"Permalink to $name's comment\">$name"|default:$name}</a>
|
||||
</strong>
|
||||
|
||||
{include file="shared:commentadminctrls.tpl"} {* this shows edit/delete links*}
|
||||
|
||||
<div class="date">
|
||||
{$date|date_format:"%B %d, %Y - %H:%M"}
|
||||
</div>
|
||||
|
||||
{$content|tag:comment_text}
|
||||
</li>
|
||||
{/comment}
|
||||
</ol>
|
||||
{/comment_block}
|
||||
|
||||
{/entry}
|
||||
|
||||
<div class="navigation">
|
||||
{nextpage}{prevpage}
|
||||
</div>
|
||||
{/entry_block}
|
||||
{include file=""shared:comments.tpl""}
|
||||
</div>
|
||||
{include file="widgets.tpl"}
|
||||
<hr />
|
||||
{include file="footer.tpl"}
|
||||
{include file=header.tpl}
|
||||
<div id="main">
|
||||
{entry_block}
|
||||
{entry}
|
||||
{include file=entry-default.tpl}
|
||||
{comment_block}
|
||||
<ol id="comments">
|
||||
{comment}
|
||||
<li id="{$id}" {$loggedin|notempty:"class=\"comment-admin\""}>
|
||||
<strong class='comment-name'>
|
||||
{$url|notempty:"<a href=\"$url\" title=\"Permalink to $name's comment\">$name"|default:$name}</a>
|
||||
</strong>
|
||||
|
||||
{include file=shared:commentadminctrls.tpl} {* this shows edit/delete links*}
|
||||
|
||||
<div class="date">
|
||||
{$date|date_format:"%B %d, %Y - %H:%M"}
|
||||
</div>
|
||||
|
||||
{$content|tag:comment_text}
|
||||
</li>
|
||||
{/comment}
|
||||
</ol>
|
||||
{/comment_block}
|
||||
|
||||
{/entry}
|
||||
|
||||
<div class="navigation">
|
||||
{nextpage}{prevpage}
|
||||
</div>
|
||||
{/entry_block}
|
||||
{include file="shared:comments.tpl"}
|
||||
</div>
|
||||
{include file=widgets.tpl}
|
||||
<hr />
|
||||
{include file=footer.tpl}
|
||||
|
|
20
cpheader.tpl
20
cpheader.tpl
|
@ -1,11 +1,11 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>{$flatpress.TITLE}{$pagetitle}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$flatpress.CHARSET}" />
|
||||
{action hook=wp_head}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="body-container">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>{$flatpress.TITLE}{$pagetitle}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$flatpress.CHARSET}" />
|
||||
{action hook=wp_head}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="body-container">
|
||||
<div id="outer-container">
|
30
default.tpl
30
default.tpl
|
@ -1,15 +1,15 @@
|
|||
{include file="header.tpl"}
|
||||
<div id="main">
|
||||
<div class="entry">
|
||||
{page}
|
||||
<h3 class="title">{$subject}</h3>
|
||||
<div class="body">
|
||||
{if $rawcontent} {$content}
|
||||
{else} {include file="$content}{/if}
|
||||
</div>
|
||||
{/page}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file="widgets.tpl"}
|
||||
{include file="footer.tpl"}
|
||||
{include file=header.tpl}
|
||||
<div id="main">
|
||||
<div class="entry">
|
||||
{page}
|
||||
<h3 class="title">{$subject}</h3>
|
||||
<div class="body">
|
||||
{if $rawcontent} {$content}
|
||||
{else} {include file=$content}{/if}
|
||||
</div>
|
||||
{/page}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{include file=widgets.tpl}
|
||||
{include file=footer.tpl}
|
|
@ -1,11 +1,11 @@
|
|||
<div id="{$id}" class="entry">
|
||||
<h3 class="entrytitle"> <a href="{$id|link:post_link}">{$subject|tag:the_title}</a></h3>
|
||||
{$date|date_format:'<h2 class="date">%B %d, %Y @ %H:%M</h2>'}
|
||||
{include file="shared:entryadminctrls.tpl"}
|
||||
|
||||
{$content|tag:the_content}
|
||||
|
||||
<ul class="entry-footer">
|
||||
<a href="{$id|link:comments_link}#comments">{$comments|tag:comments_number} {if $views}(<strong>{$views}</strong> views)</a>{/if}
|
||||
</ul>
|
||||
</div>
|
||||
<div id="{$id}" class="entry">
|
||||
<h3 class="entrytitle"> <a href="{$id|link:post_link}">{$subject|tag:the_title}</a></h3>
|
||||
{$date|date_format:'<h2 class="date">%B %d, %Y @ %H:%M</h2>'}
|
||||
{include file=shared:entryadminctrls.tpl}
|
||||
|
||||
{$content|tag:the_content}
|
||||
|
||||
<ul class="entry-footer">
|
||||
<a href="{$id|link:comments_link}#comments">{$comments|tag:comments_number} {if $views}(<strong>{$views}</strong> views)</a>{/if}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
20
footer.tpl
20
footer.tpl
|
@ -1,10 +1,10 @@
|
|||
</div>
|
||||
<hr />
|
||||
<div id="footer">
|
||||
{action hook=wp_footer}
|
||||
<a href="https://wiki.flatpress.org/res:themes:rainbow">Rainbow</a> Theme is a fork of <a href="https://wiki.flatpress.org/res:themes:snail">Snail</a> - Modified by <a href="https://deltalima.org">DeltaLima</a> - Snail designed by <a href="http://www.stealthsettings.com">Stealth Settings</a>,ported to FP and restyled by <a href="http://marcoverga86.netsons.org">Marco Vergagni</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</div>
|
||||
<hr />
|
||||
<div id="footer">
|
||||
{action hook=wp_footer}
|
||||
<a href="https://wiki.flatpress.org/res:themes:rainbow">Rainbow</a> Theme is a fork of <a href="https://wiki.flatpress.org/res:themes:snail">Snail</a> - Modified by <a href="https://deltalima.org">DeltaLima</a> - Snail designed by <a href="http://www.stealthsettings.com">Stealth Settings</a>,ported to FP and restyled by <a href="http://marcoverga86.netsons.org">Marco Vergagni</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
52
header.tpl
52
header.tpl
|
@ -1,26 +1,26 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>{$flatpress.title|tag:wp_title:'«'}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$flatpress.CHARSET}" />
|
||||
{action hook=wp_head}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="body-container">
|
||||
<div id="head">
|
||||
<a href="{$flatpress.WWW}">
|
||||
<div id="head-bubble">
|
||||
<div id="title-container">
|
||||
<h1>{$flatpress.TITLE}</h1>
|
||||
<p class="subtitle">{$flatpress.SUBTITLE}</p>
|
||||
</div>
|
||||
<div id="logo-container">
|
||||
<img id="logo-img" src="{'rainbow'|theme_geturl}imgs/flatpress-logo-solo.svg">
|
||||
</div>
|
||||
<div id="clear-container"></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<hr />
|
||||
<div id="outer-container">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>{$flatpress.title|tag:wp_title:'«'}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$flatpress.CHARSET}" />
|
||||
{action hook=wp_head}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="body-container">
|
||||
<div id="head">
|
||||
<a href="{$flatpress.WWW}">
|
||||
<div id="head-bubble">
|
||||
<div id="title-container">
|
||||
<h1>{$flatpress.TITLE}</h1>
|
||||
<p class="subtitle">{$flatpress.SUBTITLE}</p>
|
||||
</div>
|
||||
<div id="logo-container">
|
||||
<img id="logo-img" src="{'rainbow'|theme_geturl}imgs/flatpress-logo-solo.svg">
|
||||
</div>
|
||||
<div id="clear-container"></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<hr />
|
||||
<div id="outer-container">
|
||||
|
|
28
index.tpl
28
index.tpl
|
@ -1,14 +1,14 @@
|
|||
{include file="header.tpl"}
|
||||
{include file="widgets.tpl"}
|
||||
<div id="main">
|
||||
{entry_block}
|
||||
{entry}
|
||||
{include file="entry-default.tpl"}
|
||||
{/entry}
|
||||
<div class="navigation">
|
||||
{nextpage}{prevpage}
|
||||
</div>
|
||||
{/entry_block}
|
||||
</div>
|
||||
|
||||
{include file="footer.tpl"}
|
||||
{include file=header.tpl}
|
||||
{include file=widgets.tpl}
|
||||
<div id="main">
|
||||
{entry_block}
|
||||
{entry}
|
||||
{include file='entry-default.tpl'}
|
||||
{/entry}
|
||||
<div class="navigation">
|
||||
{nextpage}{prevpage}
|
||||
</div>
|
||||
{/entry_block}
|
||||
</div>
|
||||
|
||||
{include file=footer.tpl}
|
12
preview.tpl
12
preview.tpl
|
@ -1,7 +1,7 @@
|
|||
{entry content=$entry}
|
||||
<div class="entry">
|
||||
<h3>{$subject|tag:the_title}</h3>
|
||||
<p class="date">Published by {$author} on {$date|date_format:"%A, %B %e, %Y - %H:%M:%S"} </p>
|
||||
{$content|tag:the_content}
|
||||
</div>
|
||||
{entry content=$entry}
|
||||
<div class="entry">
|
||||
<h3>{$subject|tag:the_title}</h3>
|
||||
<p class="date">Published by {$author} on {$date|date_format:"%A, %B %e, %Y - %H:%M:%S"} </p>
|
||||
{$content|tag:the_content}
|
||||
</div>
|
||||
{/entry}
|
|
@ -1,7 +1,7 @@
|
|||
{static content=$entry}
|
||||
<div class="entry">
|
||||
<h3>{$subject}</h3>
|
||||
<p class="date">Published by {$author} on {$date|date_format:"%A, %B %e, %Y - %H:%M:%S"} </p>
|
||||
{$content}
|
||||
</div>
|
||||
{static content=$entry}
|
||||
<div class="entry">
|
||||
<h3>{$subject}</h3>
|
||||
<p class="date">Published by {$author} on {$date|date_format:"%A, %B %e, %Y - %H:%M:%S"} </p>
|
||||
{$content}
|
||||
</div>
|
||||
{/static}
|
|
@ -17,6 +17,7 @@ body {
|
|||
color: #CCCCCC;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
/*background: #315A94;*/
|
||||
background-image: url("../imgs/background.jpg");
|
||||
background-size: cover;
|
||||
background-position: bottom center;
|
||||
|
@ -24,7 +25,7 @@ body {
|
|||
background-size:cover;
|
||||
background-attachment:fixed;
|
||||
background-color: #222;
|
||||
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
|
||||
|
||||
}
|
||||
|
||||
hr { display: none }
|
||||
|
@ -35,6 +36,7 @@ blockquote {
|
|||
width: 90%;
|
||||
margin: 1em 1em;
|
||||
padding: 0 10px;
|
||||
/*border-left: 10px solid white;*/
|
||||
border-left: 10px solid #daaa55;
|
||||
background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.1));
|
||||
}
|
||||
|
@ -45,7 +47,10 @@ pre, code {
|
|||
}
|
||||
|
||||
pre {
|
||||
|
||||
border: 1px solid #555;
|
||||
/*background-color: #444444;*/
|
||||
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
color: #CCCCCC;
|
||||
overflow: auto;
|
||||
|
@ -59,7 +64,7 @@ pre {
|
|||
:not(pre) > code {
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
border-radius: 3px;
|
||||
padding: 3px 4px;
|
||||
padding: 0px 3px;
|
||||
}
|
||||
|
||||
ul, li, ol { margin: 0; padding: 0 }
|
||||
|
@ -108,12 +113,14 @@ textarea {
|
|||
|
||||
/* ===== LINKS GENERAL ===== */
|
||||
a:link, a:visited {
|
||||
/*color: #0066ff;*/
|
||||
color: #e69138;
|
||||
font-weight: bold;
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
a:hover {
|
||||
/*color: #1100FF;*/
|
||||
color: #f6b26b;
|
||||
text-decoration: underline
|
||||
}
|
||||
|
@ -132,17 +139,17 @@ h6 { font-size: 0.9em }
|
|||
text-align: left;
|
||||
width: 72% !important;
|
||||
width: 72%; /* fix for I.E. */
|
||||
margin: 0 auto 20px auto;
|
||||
margin: 0 auto 0 auto;
|
||||
padding: 5px;
|
||||
|
||||
/* background-color: #2D2D2D;*/
|
||||
background-color: rgba(45, 45, 45, 0.8);
|
||||
box-shadow: 3px 3px 15px rgba(0,0,0,0.8);
|
||||
overflow: hidden;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
/* ===== HEAD ===== */
|
||||
#head {
|
||||
/*background: url("../imgs/logo.jpg") no-repeat;*/
|
||||
width: 680px; !important;
|
||||
width: 680px;
|
||||
height: 128px;
|
||||
|
@ -150,6 +157,7 @@ h6 { font-size: 0.9em }
|
|||
float: center;
|
||||
}
|
||||
#head-bubble {
|
||||
/* background-color: rgba(0, 0, 0, 0.2);*/
|
||||
background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.1));
|
||||
border-radius: 15px;
|
||||
width: 100% !important;
|
||||
|
@ -168,6 +176,7 @@ h6 { font-size: 0.9em }
|
|||
|
||||
}
|
||||
#logo-img {
|
||||
/*background: url("../imgs/Mandrake-Tux_redraw.png");*/
|
||||
max-height: 120px;
|
||||
max-width: 90px;
|
||||
}
|
||||
|
@ -232,7 +241,9 @@ ol li, ul li { padding-bottom: 0.9em }
|
|||
#comments li {
|
||||
margin: 0 0 1.5em 0;
|
||||
padding: 5px;
|
||||
border-top: 2px solid #f6b26b;
|
||||
/*border-top: 2px solid #6699FF;
|
||||
border-bottom: 2px solid #6699FF;*/
|
||||
border-top: 2px solid #f6b26b;
|
||||
border-bottom: 2px solid #f6b26b;
|
||||
background: #2D2D2D;
|
||||
}
|
||||
|
@ -244,7 +255,9 @@ ol li, ul li { padding-bottom: 0.9em }
|
|||
#comments li.comment-admin strong.comment-name { font-size:160% }
|
||||
|
||||
#comments li.comment-admin {
|
||||
background-color: #393939;
|
||||
/*background-color: #DAAA55;*/
|
||||
background-color: #393939;
|
||||
/*color: black;*/
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
|
@ -253,7 +266,7 @@ ol li, ul li { padding-bottom: 0.9em }
|
|||
font-size: 11px;
|
||||
margin: 3px 0 3px 0;
|
||||
padding-bottom: 2px;
|
||||
font-weight: normal;
|
||||
font-weight: normal;
|
||||
border-bottom: 2px solid #333333;
|
||||
}
|
||||
|
||||
|
@ -267,6 +280,8 @@ ol li, ul li { padding-bottom: 0.9em }
|
|||
.entry p { font-size: 16px }
|
||||
|
||||
.entry-title {
|
||||
/*color: #26a269;*/
|
||||
/* ubuntu color background term color: #380c2a; */
|
||||
color: #daaa55;
|
||||
}
|
||||
|
||||
|
@ -279,12 +294,12 @@ ol li, ul li { padding-bottom: 0.9em }
|
|||
.entry-footer a:hover { color: #4B4B4B }
|
||||
|
||||
.entry-footer {
|
||||
text-align: right;
|
||||
text-align: right;
|
||||
font-family: 'Lucida Grande', 'Trebuchet MS', arial, Helvetica, sans-serif;
|
||||
font-size: 0.9em;
|
||||
margin: 2em 0 .5em 0;
|
||||
margin-left: 58%;
|
||||
border-top: 2px solid #333333;
|
||||
font-size: 0.9em;
|
||||
margin: 2em 0 .5em 0;
|
||||
margin-left: 58%;
|
||||
border-top: 2px solid #333333;
|
||||
}
|
||||
|
||||
.admincontrols { /* [edit] and [delete] */
|
||||
|
@ -308,6 +323,8 @@ ol li, ul li { padding-bottom: 0.9em }
|
|||
/* ===== FOOTER ===== */
|
||||
#footer {
|
||||
text-align: center;
|
||||
/* background: #2D2D2D;*/
|
||||
/* background-color: rgba(0, 0, 0, 0.2);*/
|
||||
background-image: linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.2));
|
||||
border-top-right-radius: 5px;
|
||||
border-top-left-radius: 5px;
|
||||
|
@ -317,4 +334,6 @@ ol li, ul li { padding-bottom: 0.9em }
|
|||
font-size: 80%;
|
||||
padding: 8px;
|
||||
margin: 0px 5px 5px 5px;
|
||||
/*border-top: #315A94 2px solid*/
|
||||
/*border-top: #393939 2px solid*/
|
||||
}
|
||||
|
|
30
static.tpl
30
static.tpl
|
@ -1,15 +1,15 @@
|
|||
{include file="header.tpl"}
|
||||
<div id="main">
|
||||
{static_block}
|
||||
{static}
|
||||
<div id="{$id}" class="entry">
|
||||
<div class="entry-title"><h2>{$subject}</h2></div>
|
||||
<p class="date">Published by {$author} on {$date|date_format:"%A, %B %e, %Y - %H:%M:%S"}</p>
|
||||
{$content|tag:the_content}
|
||||
</div>
|
||||
{/static}
|
||||
{/static_block}
|
||||
</div>
|
||||
|
||||
{include file="widgets.tpl"}
|
||||
{include file="footer.tpl"}
|
||||
{include file=header.tpl}
|
||||
<div id="main">
|
||||
{static_block}
|
||||
{static}
|
||||
<div id="{$id}" class="entry">
|
||||
<div class="entry-title"><h2>{$subject}</h2></div>
|
||||
<p class="date">Published by {$author} on {$date|date_format:"%A, %B %e, %Y - %H:%M:%S"}</p>
|
||||
{$content|tag:the_content}
|
||||
</div>
|
||||
{/static}
|
||||
{/static_block}
|
||||
</div>
|
||||
|
||||
{include file=widgets.tpl}
|
||||
{include file=footer.tpl}
|
||||
|
|
14
widgets.tpl
14
widgets.tpl
|
@ -1,8 +1,8 @@
|
|||
<div id="column">
|
||||
{widgets pos=right}
|
||||
<div id="{$id}">
|
||||
<h4>{$subject}</h4>
|
||||
{$content}
|
||||
</div>
|
||||
{/widgets}
|
||||
<div id="column">
|
||||
{widgets pos=right}
|
||||
<div id="{$id}">
|
||||
<h4>{$subject}</h4>
|
||||
{$content}
|
||||
</div>
|
||||
{/widgets}
|
||||
</div>
|
Loading…
Reference in a new issue