added translucient-fluidity
From the beginnings of Friendica, a derived theme from duepuntozero (so this has to be available in the Friendica themes directory). Inspired by a Wordpress theme.
18
translucent-fluidity/README.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
Translucent Fluidity
|
||||
====================
|
||||
|
||||
This theme is based on a [theme][1] for WordPress called _Translucent Fluidity
|
||||
2_ originally made by [Arwen54][2]. The sources for this theme can be found in
|
||||
the /wp directory of this theme.
|
||||
|
||||
The theme is based on the duepuntozero theme of ~[friendica][3] and you need to have
|
||||
it installed so that this theme can work.
|
||||
|
||||
License
|
||||
-------
|
||||
Use this theme as I used Arwen54s to get inspired to build your own theme. Or
|
||||
just use it for your ~friendica server if you like it.
|
||||
|
||||
[1]:https://wordpress.org/extend/themes/translucent-fluidity-2
|
||||
[2]:http://profiles.wordpress.org/arwen54/
|
||||
[3]:http://friendica.com
|
BIN
translucent-fluidity/bg.jpg
Normal file
After Width: | Height: | Size: 21 KiB |
39
translucent-fluidity/default.php
Executable file
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html >
|
||||
<html>
|
||||
<head>
|
||||
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
|
||||
<script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
|
||||
<?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
|
||||
</head>
|
||||
<body>
|
||||
<div id="page">
|
||||
<?php
|
||||
if(x($page,'nav')){
|
||||
echo str_replace("~config.sitename~",get_config('config','sitename'),
|
||||
str_replace("~system.banner~",get_config('system','banner'),
|
||||
$page['nav']
|
||||
));};
|
||||
?>
|
||||
|
||||
<div id="main">
|
||||
<div id="primary">
|
||||
<div id="content" role="main"><div id="innercontent">
|
||||
<?php
|
||||
if(x($page,'content')) echo $page['content'];
|
||||
?>
|
||||
</div></div>
|
||||
</div>
|
||||
<div id="secondary" class="widget-area" role="complementary">
|
||||
<?php if(x($page,'aside')) echo $page['aside']; ?>
|
||||
<?php if(x($page,'right_aside')) echo $page['right_aside']; ?>
|
||||
</div>
|
||||
</div>
|
||||
<footer id="colophon" role="contentinfo">
|
||||
<div id="site-generator">
|
||||
<?php if(x($page,'footer')) echo $page['footer']; ?>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
BIN
translucent-fluidity/head.jpg
Normal file
After Width: | Height: | Size: 1.1 KiB |
58
translucent-fluidity/nav.tpl
Normal file
|
@ -0,0 +1,58 @@
|
|||
<nav>
|
||||
$langselector
|
||||
|
||||
<div id="site-location">$sitelocation</div>
|
||||
|
||||
<div id="sitenav-link-wrapper">
|
||||
{{ if $nav.logout }}<a id="nav-logout-link" class="nav-link $nav.logout.2" href="$nav.logout.0" title="$nav.logout.3" >$nav.logout.1</a> {{ endif }}
|
||||
{{ if $nav.register }}<a id="nav-register-link" class="nav-commlink $nav.register.2 $sel.register" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>{{ endif }}
|
||||
{{ if $nav.help }} <a id="nav-help-link" class="nav-link $nav.help.2" target="friendica-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a>{{ endif }}
|
||||
{{ if $nav.apps }}<a id="nav-apps-link" class="nav-link $nav.apps.2" href="$nav.apps.0" title="$nav.apps.3" >$nav.apps.1</a>{{ endif }}
|
||||
<a id="nav-search-link" class="nav-link $nav.search.2" href="$nav.search.0" title="$nav.search.3" >$nav.search.1</a>
|
||||
<a id="nav-directory-link" class="nav-link $nav.directory.2" href="$nav.directory.0" title="$nav.directory.3" >$nav.directory.1</a>
|
||||
{{ if $nav.admin }}<a id="nav-admin-link" class="nav-link $nav.admin.2" href="$nav.admin.0" title="$nav.admin.3" >$nav.admin.1</a>{{ endif }}
|
||||
{{ if $nav.settings }}<a id="nav-settings-link" class="nav-link $nav.settings.2" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a>{{ endif }}
|
||||
{{ if $nav.profiles }}<a id="nav-profiles-link" class="nav-link $nav.profiles.2" href="$nav.profiles.0" title="$nav.profiles.3" >$nav.profiles.1</a>{{ endif }}
|
||||
{{ if $nav.contacts }}<a id="nav-contacts-link" class="nav-link $nav.contacts.2" href="$nav.contacts.0" title="$nav.contacts.3" >$nav.contacts.1</a>{{ endif }}
|
||||
{{ if $nav.manage }}<a id="nav-manage-link" class="nav-link $nav.manage.2 $sel.manage" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>{{ endif }}
|
||||
</div>
|
||||
|
||||
<span id="nav-link-wrapper" >
|
||||
|
||||
{{ if $nav.login }}<a id="nav-login-link" class="nav-commlink $nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a> {{ endif }}
|
||||
{{ if $nav.network }}
|
||||
<a id="nav-network-link" class="nav-commlink $nav.network.2 $sel.network" href="$nav.network.0" title="$nav.network.3" >$nav.network.1</a>
|
||||
<span id="net-update" class="nav-ajax-left"></span>
|
||||
{{ endif }}
|
||||
{{ if $nav.home }}
|
||||
<a id="nav-home-link" class="nav-commlink $nav.home.2 $sel.home" href="$nav.home.0" title="$nav.home.3" >$nav.home.1</a>
|
||||
<span id="home-update" class="nav-ajax-left"></span>
|
||||
{{ endif }}
|
||||
{{ if $nav.community }}
|
||||
<a id="nav-community-link" class="nav-commlink $nav.community.2 $sel.community" href="$nav.community.0" title="$nav.community.3" >$nav.community.1</a>
|
||||
{{ endif }}
|
||||
{{ if $nav.introductions }}
|
||||
<a id="nav-notify-link" class="nav-commlink $nav.introductions.2 $sel.introductions" href="$nav.introductions.0" title="$nav.introductions.3" >$nav.introductions.1</a>
|
||||
<span id="intro-update" class="nav-ajax-left"></span>
|
||||
{{ endif }}
|
||||
{{ if $nav.messages }}
|
||||
<a id="nav-messages-link" class="nav-commlink $nav.messages.2 $sel.messages" href="$nav.messages.0" title="$nav.messages.3" >$nav.messages.1</a>
|
||||
<span id="mail-update" class="nav-ajax-left"></span>
|
||||
{{ endif }}
|
||||
{{ if $nav.notifications }}
|
||||
<a id="nav-notifications-linkmenu" class="nav-commlink" href="$nav.notifications.0" rel="#nav-notifications-menu" title="$nav.notifications.1">$nav.notifications.1</a>
|
||||
<span id="notify-update" class="nav-ajax-left"></span>
|
||||
<ul id="nav-notifications-menu" class="menu-popup">
|
||||
<li id="nav-notifications-see-all"><a href="$nav.notifications.all.0">$nav.notifications.all.1</a></li>
|
||||
<li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">$nav.notifications.mark.1</a></li>
|
||||
<li class="empty">$emptynotifications</li>
|
||||
</ul>
|
||||
{{ endif }}
|
||||
</span>
|
||||
<span id="nav-end"></span>
|
||||
<span id="banner">$banner</span>
|
||||
</nav>
|
||||
|
||||
<ul id="nav-notifications-template" style="display:none;" rel="template">
|
||||
<li class="{4}"><a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
|
||||
</ul>
|
BIN
translucent-fluidity/screenshot.jpg
Normal file
After Width: | Height: | Size: 85 KiB |
57
translucent-fluidity/smarty3/nav.tpl
Normal file
|
@ -0,0 +1,57 @@
|
|||
<nav>
|
||||
{{$langselector}}
|
||||
|
||||
<div id="site-location">{{$sitelocation}}</div>
|
||||
|
||||
<div id="sitenav-link-wrapper">
|
||||
{{if $nav.logout}}<a id="nav-logout-link" class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}"
|
||||
>{{$nav.logout.1}}</a> {{/if}}
|
||||
{{if $nav.register}}<a id="nav-register-link" class="nav-commlink {{$nav.register.2}} {{$sel.register}}" href="{{$nav.register.0}}" title="{{$nav.register.3}}" >{{$nav.register.1}}</a>{{/if}}
|
||||
{{if $nav.help}} <a id="nav-help-link" class="nav-link {{$nav.help.2}}" target="friendica-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a>{{/if}}
|
||||
{{if $nav.apps}}<a id="nav-apps-link" class="nav-link {{$nav.apps.2}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>{{/if}}
|
||||
<a id="nav-search-link" class="nav-link {{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a>
|
||||
<a id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
|
||||
{{if $nav.admin}}<a id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a>{{/if}}
|
||||
{{if $nav.settings}}<a id="nav-settings-link" class="nav-link {{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a>{{/if}}
|
||||
{{if $nav.profiles}}<a id="nav-profiles-link" class="nav-link {{$nav.profiles.2}}" href="{{$nav.profiles.0}}" title="{{$nav.profiles.3}}" >{{$nav.profiles.1}}</a>{{/if}}
|
||||
{{if $nav.contacts}}<a id="nav-contacts-link" class="nav-link {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a>{{/if}}
|
||||
{{if $nav.manage}}<a id="nav-manage-link" class="nav-link {{$nav.manage.2}} {{$sel.manage}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a>{{/if}}
|
||||
</div>
|
||||
|
||||
<span id="nav-link-wrapper" >
|
||||
|
||||
{{if $nav.login}}<a id="nav-login-link" class="nav-commlink {{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a> {{/if}}
|
||||
{{if $nav.network}} <a id="nav-network-link" class="nav-commlink {{$nav.network.2}} {{$sel.network}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
|
||||
<span id="net-update" class="nav-ajax-left"></span>
|
||||
{{/if}}
|
||||
{{if $nav.home}}
|
||||
<a id="nav-home-link" class="nav-commlink {{$nav.home.2}} {{$sel.home}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a> <span id="home-update" class="nav-ajax-left"></span>
|
||||
{{/if}}
|
||||
{{if $nav.community}}
|
||||
<a id="nav-community-link" class="nav-commlink {{$nav.community.2}} {{$sel.community}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
|
||||
{{/if}}
|
||||
{{if $nav.introductions}}
|
||||
<a id="nav-notify-link" class="nav-commlink {{$nav.introductions.2}} {{$sel.introductions}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a>
|
||||
<span id="intro-update" class="nav-ajax-left"></span>
|
||||
{{/if}}
|
||||
{{if $nav.messages}}
|
||||
<a id="nav-messages-link" class="nav-commlink {{$nav.messages.2}} {{$sel.messages}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a>
|
||||
<span id="mail-update" class="nav-ajax-left"></span>
|
||||
{{/if}}
|
||||
{{if $nav.notifications}}
|
||||
<a id="nav-notifications-linkmenu" class="nav-commlink" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="$nav.notifications.1">{{$nav.notifications.1}}</a>
|
||||
<span id="notify-update" class="nav-ajax-left"></span>
|
||||
<ul id="nav-notifications-menu" class="menu-popup">
|
||||
<li id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
|
||||
<li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">{{$nav.notifications.mark.1}}</a></li>
|
||||
<li class="empty">{{$emptynotifications}}</li>
|
||||
</ul>
|
||||
{{/if}}
|
||||
</span>
|
||||
<span id="nav-end"></span>
|
||||
<span id="banner">{{$banner}}</span>
|
||||
</nav>
|
||||
|
||||
<ul id="nav-notifications-template" style="display:none;" rel="template">
|
||||
<li class="{4}"><a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
|
||||
</ul>
|
128
translucent-fluidity/style.css
Normal file
|
@ -0,0 +1,128 @@
|
|||
@import url('../duepuntozero/style.css');
|
||||
#main #primary { float: left; margin: 0 -26.4% 0 0; width: 100%; }
|
||||
#main #secondary { float: right; margin-right: 7.6%; width: 18.4%; }
|
||||
#main #content { margin: 0 34% 0 7.6%; width: 58.4%; }
|
||||
|
||||
body {
|
||||
background: #FFF url('bg.jpg') no-repeat top left fixed;
|
||||
margin: 0px;
|
||||
padding: 0;
|
||||
font-family: Verdana, sans-serif; font-size: 0.95em; color: #000; line-height: 1.5em;
|
||||
}
|
||||
#innercontent, #secondary {
|
||||
background-color: #dfc2d8;
|
||||
opacity: 0.8;
|
||||
}
|
||||
#birthday-notice, #profile-jot-wrapper {
|
||||
margin: 0px;
|
||||
padding-bottom: 10px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
#content {
|
||||
padding-top: -10px;
|
||||
}
|
||||
.widget-area { margin: 0px:}
|
||||
#secondary {
|
||||
margin: 2px;
|
||||
margin-top: 27px;
|
||||
padding: 0px;
|
||||
font-size: 0.8em;
|
||||
color: #555555;
|
||||
}
|
||||
#innercontent {
|
||||
width: 652px;
|
||||
padding-left: 4px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
#innercontent h1 { margin-top: 0px; padding-top: 10px;}
|
||||
#innercontent h2 { margin-top: 0px; padding-top: 10px;}
|
||||
#innercontent h3 { margin-top: 0px; padding-top: 10px;}
|
||||
/* navigation mrnu */
|
||||
nav {
|
||||
margin-top: 75px;
|
||||
border-bottom: 1px solid #b378a4;
|
||||
width: 600px;
|
||||
}
|
||||
nav #banner {
|
||||
left: 700px;
|
||||
top: 5px;
|
||||
}
|
||||
nav #site-location {
|
||||
display: none;
|
||||
margin-top: 14px;
|
||||
top: 30px;
|
||||
left: 90px;
|
||||
}
|
||||
nav #sitenav-link-wrapper .nav-link {
|
||||
height: 20px;
|
||||
padding: 0px 5px;
|
||||
margin: 0px;
|
||||
}
|
||||
nav #sitenav-link-wrapper {
|
||||
position: absolute;
|
||||
display: block;
|
||||
top: 60px;
|
||||
left: 700px;
|
||||
width: 250px;
|
||||
max-width: 250px;
|
||||
text-align: center;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
.wall-item-content img {
|
||||
max-width: 400px;
|
||||
}
|
||||
.wall-item-photo-wrapper {
|
||||
opacity: 1.0;
|
||||
}
|
||||
.nav-commlink {
|
||||
background-color: #d8bbcd;
|
||||
}
|
||||
div.wall-item-tools {
|
||||
background-image: url(head.jpg);
|
||||
}
|
||||
.tread-wrapper .toplevel_item {
|
||||
margin-bottom: 10px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px s0lid #999999;
|
||||
}
|
||||
.tabs {
|
||||
margin: 0px;
|
||||
background-image: url(head.jpg);
|
||||
margin-left: -4px;
|
||||
padding: 0px;
|
||||
}
|
||||
#secondary ul, #secondary li, #secondary dl, #secondary dt {
|
||||
padding: 0px;
|
||||
padding-left: 3px;
|
||||
margin: 0px;
|
||||
list-style: none;
|
||||
}
|
||||
#secondary h3, #secondary h2, #secondary h1 {
|
||||
border-bottom: 1px solid #000;
|
||||
color: #000;
|
||||
}
|
||||
#secondary div {
|
||||
border: 0px;
|
||||
}
|
||||
#secondary img {
|
||||
max-width: 160px;
|
||||
max-height: 160px;
|
||||
}
|
||||
/* links */
|
||||
a:link, a:visited, .fakelink {
|
||||
color: #5c2d50;
|
||||
}
|
||||
/* wall item */
|
||||
.comment {
|
||||
background-color: #dfc2d8;
|
||||
padding-right: 5px;
|
||||
}
|
||||
.shiny {
|
||||
border-right: solid 10px #c8b0c6;
|
||||
background-color: #dfc2d8;
|
||||
}
|
||||
.comment-edit-form {
|
||||
background-color: #dfc2d8;
|
||||
}
|
||||
|
11
translucent-fluidity/theme.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
/**
|
||||
* Name: Translucent Fluidity
|
||||
* Version: 0.2
|
||||
* Author: Tobias <http://diekershoff.homeunix.net/friendica/profile/tobias>
|
||||
* Maintainer: Tobias <http://diekershoff.homeunix.net/friendica/profile/tobias>
|
||||
*/
|
||||
$a->theme_info = array(
|
||||
'extends' => 'duepuntozero',
|
||||
);
|
||||
set_template_engine($a, 'smarty3');
|
21
translucent-fluidity/wp/404.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php get_header(); ?>
|
||||
<ul id="nav">
|
||||
<li <?php if(is_home()){echo 'class="first current_page_item"';}?>><a href="<?php bloginfo('siteurl'); ?>/" title="Home">Home</a></li>
|
||||
<?php wp_list_pages('title_li=&depth=1');?>
|
||||
</ul>
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<h2 class="center">Error 404 - Not Found</h2>
|
||||
<p>The document or page does not exist! Please search using the form below <br />
|
||||
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
|
||||
<input type="text" name="s" id="s" size="15" />
|
||||
<input type="submit" value="<?php _e('Go'); ?>" />
|
||||
</form></p>
|
||||
<a href="<?php bloginfo ('home') ?>" class="alignleft">Blog Home</a>
|
||||
</div>
|
||||
<div id="menu">
|
||||
<?php get_sidebar();?>
|
||||
</div>
|
||||
|
||||
|
||||
<?php get_footer(); ?>
|
8
translucent-fluidity/wp/README.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
Translucent Fluidity 2
|
||||
======================
|
||||
|
||||
WordPress theme, originally made by [arwen54][1] that can be found in the
|
||||
[WP-Themes Directory][2].
|
||||
|
||||
[1]:http://profiles.wordpress.org/arwen54/
|
||||
[2]:https://wordpress.org/extend/themes/translucent-fluidity-2
|
105
translucent-fluidity/wp/comments.php
Normal file
|
@ -0,0 +1,105 @@
|
|||
<?php // Do not delete these lines
|
||||
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
|
||||
die ('Please do not load this page directly. Thanks!');
|
||||
|
||||
if (!empty($post->post_password)) { // if there's a password
|
||||
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
|
||||
?>
|
||||
|
||||
<p class="nocomments">This post is password protected. Enter the password to view comments.</p>
|
||||
|
||||
<?php
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/* This variable is for alternating comment background */
|
||||
$oddcomment = 'class="alt" ';
|
||||
?>
|
||||
|
||||
<!-- You can start editing here. -->
|
||||
|
||||
<?php if ($comments) : ?>
|
||||
<h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h3>
|
||||
|
||||
<ol class="commentlist">
|
||||
|
||||
<?php foreach ($comments as $comment) : ?>
|
||||
|
||||
<li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
|
||||
<?php echo get_avatar( $comment, 35 ); ?>
|
||||
<cite><?php comment_author_link() ?></cite>
|
||||
<?php if ($comment->comment_approved == '0') : ?>
|
||||
<em>Your comment is awaiting moderation.</em>
|
||||
<?php endif; ?>
|
||||
<br />
|
||||
|
||||
<small class="commentmetadata"><?php comment_date('F jS, Y') ?> at <?php comment_time() ?> <?php edit_comment_link('edit',' ',''); ?></small>
|
||||
|
||||
<?php comment_text() ?>
|
||||
|
||||
</li>
|
||||
|
||||
<?php
|
||||
/* Changes every other comment to a different class */
|
||||
$oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';
|
||||
?>
|
||||
|
||||
<?php endforeach; /* end for each comment */ ?>
|
||||
|
||||
</ol>
|
||||
|
||||
<?php else : // this is displayed if there are no comments so far ?>
|
||||
|
||||
<?php if ('open' == $post->comment_status) : ?>
|
||||
<!-- If comments are open, but there are no comments. -->
|
||||
|
||||
<?php else : // comments are closed ?>
|
||||
<!-- If comments are closed. -->
|
||||
<p class="nocomments">Comments are closed.</p>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if ('open' == $post->comment_status) : ?>
|
||||
|
||||
<h3 id="respond">Leave a Reply</h3>
|
||||
|
||||
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
|
||||
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>
|
||||
<?php else : ?>
|
||||
|
||||
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
|
||||
|
||||
<?php if ( $user_ID ) : ?>
|
||||
|
||||
<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Log out »</a></p>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
|
||||
<label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p>
|
||||
|
||||
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
|
||||
<label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>
|
||||
|
||||
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
|
||||
<label for="url"><small>Website</small></label></p>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>-->
|
||||
|
||||
<p><textarea name="comment" id="comment" tabindex="4"></textarea></p>
|
||||
|
||||
<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
|
||||
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
|
||||
</p>
|
||||
<?php do_action('comment_form', $post->ID); ?>
|
||||
|
||||
</form>
|
||||
|
||||
<?php endif; // If registration required and not logged in ?>
|
||||
|
||||
<?php endif; // if you delete this the sky will fall on your head ?>
|
13
translucent-fluidity/wp/footer.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Original Template and WordPress Theme by<br /> <a href="http://www.karenblundell.com" target="blank">Karen Blundell (aka arwen54)</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
6
translucent-fluidity/wp/functions.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
|
||||
if ( function_exists('register_sidebars') )
|
||||
register_sidebar();
|
||||
|
||||
?>
|
25
translucent-fluidity/wp/header.php
Normal file
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head profile="http://gmpg.org/xfn/11">
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
|
||||
<title><?php wp_title(''); ?>
|
||||
<?php if(wp_title(' ', false)) { echo '--'; } ?>
|
||||
<?php bloginfo('name'); ?></title>
|
||||
|
||||
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
|
||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
|
||||
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
|
||||
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
|
||||
|
||||
<?php wp_get_archives('type=monthly&format=link'); ?>
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<h1><a href="<?php bloginfo('home'); ?>"><?php bloginfo('name'); ?></a></h1>
|
||||
<div id="desc"><?php bloginfo('description'); ?></div>
|
||||
</div>
|
||||
|
BIN
translucent-fluidity/wp/images/back8.jpg
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
translucent-fluidity/wp/images/trans5.gif
Normal file
After Width: | Height: | Size: 149 B |
BIN
translucent-fluidity/wp/images/trans6.gif
Normal file
After Width: | Height: | Size: 149 B |
BIN
translucent-fluidity/wp/images/trans7.gif
Normal file
After Width: | Height: | Size: 149 B |
41
translucent-fluidity/wp/index.php
Normal file
|
@ -0,0 +1,41 @@
|
|||
<?php get_header(); ?>
|
||||
|
||||
<?php if (have_posts()) : ?>
|
||||
<ul id="nav">
|
||||
<li <?php if(is_home()){echo 'class="first current_page_item"';}?>><a href="<?php bloginfo('siteurl'); ?>/" title="Home">Home</a></li>
|
||||
<?php wp_list_pages('title_li=&depth=1');?>
|
||||
</ul>
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
|
||||
<div class="post" id="post-<?php the_ID(); ?>">
|
||||
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
|
||||
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
|
||||
|
||||
<div class="entry">
|
||||
<?php the_content('Read the rest of this entry »'); ?>
|
||||
</div>
|
||||
|
||||
<p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
|
||||
<p><?php the_tags(); ?></p>
|
||||
|
||||
</div>
|
||||
|
||||
<?php comments_template(); ?>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<p align="center"><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>
|
||||
|
||||
<?php else : ?>
|
||||
<h2 align="center">Not Found</h2>
|
||||
<p align="center">Sorry, but you are looking for something that isn't here.</p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div id="menu">
|
||||
<?php get_sidebar();?>
|
||||
</div>
|
||||
|
||||
|
||||
<?php get_footer(); ?>
|
BIN
translucent-fluidity/wp/screenshot.png
Normal file
After Width: | Height: | Size: 43 KiB |
55
translucent-fluidity/wp/sidebar.php
Normal file
|
@ -0,0 +1,55 @@
|
|||
<!-- begin sidebar -->
|
||||
|
||||
<ul>
|
||||
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>
|
||||
|
||||
<li><h2>Recent Posts</h2>
|
||||
<ul><?php wp_get_archives('type=postbypost&limit=10'); ?></ul></li>
|
||||
<?php get_links_list(); ?>
|
||||
|
||||
<li><h2>Categories</h2>
|
||||
<ul><?php wp_list_cats(); ?></ul></li>
|
||||
|
||||
<li><h2>Archives</h2>
|
||||
<ul><?php wp_get_archives('type=monthly'); ?></ul></li>
|
||||
|
||||
|
||||
<li><h2>Meta</h2>
|
||||
<ul>
|
||||
<?php wp_register(); ?>
|
||||
<li><?php wp_loginout(); ?></li>
|
||||
|
||||
<li><a href="feed:<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
|
||||
|
||||
<li><a href="feed:<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
|
||||
|
||||
<li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
|
||||
|
||||
<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
|
||||
|
||||
<li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>"><abbr title="WordPress">WP</abbr></a></li>
|
||||
|
||||
<?php wp_meta(); ?>
|
||||
</ul></li>
|
||||
|
||||
|
||||
|
||||
<li><h2>Search</h2>
|
||||
|
||||
<ul><li>
|
||||
|
||||
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
|
||||
|
||||
<input type="text" name="s" id="s" size="15" />
|
||||
|
||||
<input type="submit" value="<?php _e('Go'); ?>" />
|
||||
|
||||
</form></li></ul></li>
|
||||
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<!-- end sidebar -->
|
||||
|
42
translucent-fluidity/wp/single.php
Normal file
|
@ -0,0 +1,42 @@
|
|||
<?php get_header(); ?>
|
||||
|
||||
<?php if (have_posts()) : ?>
|
||||
|
||||
<ul id="nav">
|
||||
<li <?php if(is_home()){echo 'class="first current_page_item"';}?>><a href="<?php bloginfo('siteurl'); ?>/" title="Home">Home</a></li>
|
||||
<?php wp_list_pages('title_li=&depth=1');?>
|
||||
</ul>
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
|
||||
<div class="post" id="post-<?php the_ID(); ?>">
|
||||
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
|
||||
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
|
||||
|
||||
<div class="entry">
|
||||
<?php the_content('Read the rest of this entry »'); ?>
|
||||
</div>
|
||||
|
||||
<p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
|
||||
<p><?php the_tags(); ?></p>
|
||||
|
||||
</div>
|
||||
|
||||
<?php comments_template(); ?>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<p align="center"><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>
|
||||
|
||||
<?php else : ?>
|
||||
<h2 align="center">Not Found</h2>
|
||||
<p align="center">Sorry, but you are looking for something that isn't here.</p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div id="menu">
|
||||
<?php get_sidebar();?>
|
||||
</div>
|
||||
|
||||
|
||||
<?php get_footer(); ?>
|
92
translucent-fluidity/wp/style.css
Normal file
|
@ -0,0 +1,92 @@
|
|||
/*
|
||||
Theme Name: Translucent Fluidity 2
|
||||
Version: 3.1
|
||||
Description: A fluid two-column style that's widget ready and ported to WordPress from my original open source template
|
||||
Author: Karen Blundell
|
||||
Author URI: http://karenblundell.com
|
||||
Tags: flowers, white, two columns, fluid width, widget ready, right sidebar
|
||||
*/
|
||||
|
||||
|
||||
body { background: #FFF url('images/back8.jpg') no-repeat top left fixed; margin: 0 0 20px 0; padding: 0; font-family: Verdana, sans-serif; font-size: 0.95em; color: #000; line-height: 1.5em; }
|
||||
|
||||
#header { width: 80%; background:transparent; margin: 0 auto; padding: 0; height: 101px; }
|
||||
#header h1 { padding: 30px 0 0 0; color: #999; font-size: 1.4em; letter-spacing: 3px; margin: 0; text-align: right; }
|
||||
#header a, #header a:visited { color: #999; text-decoration: none; }
|
||||
#header a:hover { color: #666 }
|
||||
#desc { padding: 0px 10px; margin: 0 ; text-align: right; }
|
||||
|
||||
#nav { position: absolute; top: 85px; left: 10%; width: auto; padding: 0; margin: 0 auto; font: bold 11px Verdana, sans-serif; height: 25px; }
|
||||
#nav li { list-style: none; margin: 0; padding: 0; display: inline; }
|
||||
#nav li a { padding: 3px; margin: 0; border: 1px solid #B78E96; border-bottom: none;
|
||||
background: transparent url(images/trans6.gif) repeat; text-decoration: none; }
|
||||
#nav li a:link { color: #000; }
|
||||
#nav li a:visited { color: #fff; }
|
||||
#nav li a:hover { color: #fff; background: transparent url(images/trans7.gif) repeat; }
|
||||
#nav li a.active { background: transparent url(images/trans7.gif) repeat; border-bottom: 1px solid #999; }
|
||||
|
||||
#container { background: transparent url('images/trans5.gif') repeat; width: 80%; margin: 0 auto; padding: 0; }
|
||||
|
||||
#content { margin: 0; padding: 10px; width: 59%; float: left; }
|
||||
#content h1 { color: #999; border-bottom: 1px solid #999; margin: 0; padding: 10px 0 1px 0; font-size: 1.2em; }
|
||||
#content .post p { padding: 0 0 15px 0 }
|
||||
#content .post blockquote { padding-top: 0px; padding-bottom: 0px; }
|
||||
#content .post blockquote p { margin: 5px 0 0 0; padding: 10px 5px 10px 5px; border-left: 2px solid #fff; }
|
||||
#content .post li { list-style-type: disc; color: #000; margin: 0px 5px 0px 5px; padding: 0px 5px 5px 0px; }
|
||||
#content .post ol { margin: 0px; padding: 0 5px 0 40px; }
|
||||
#content .post ol li { list-style-type: decimal; color: #000; margin: 0px 5px 0px 5px; padding: 0px 5px 5px 0px; }
|
||||
#content .post img { display: inline; border:0; margin:0 7px; padding:0; vertical-align: middle; }
|
||||
|
||||
#menu { float: left; width: 30.5%; margin: 17px 0 0 20px; padding: 5px; }
|
||||
#menu ul { padding: 0; list-style: none; margin: 0; }
|
||||
#menu ul li { list-style-type: none; margin: 0px; padding: 0px 0px 15px 0px; }
|
||||
#menu ul ul li { list-style-type: none; color: #999; margin: 0px 0px 0px 5px; padding: 0px 5px 5px 5px; font-size: 0.75em; line-height: 1.2em; }
|
||||
#menu ul.children { margin: 0px; padding: 5px 5px 0px 0px; }
|
||||
#menu ul.children li { margin: 0px; padding: 0px 7px 5px 5px; }
|
||||
|
||||
#footer { background: transparent; padding: 5px 10px 2px 0; text-align: right; font-size: 0.75em; clear: both; line-height: 1.15em; }
|
||||
|
||||
a, a:visited { background: transparent; color: #999; text-decoration: none; font-weight: bold; }
|
||||
|
||||
a:hover, a:active { background: transparent; color: #666; }
|
||||
|
||||
h2 { color: #666; margin: 0 0 10px 0; padding: 0; font-size: 0.95em; border-bottom: 1px solid #666; }
|
||||
|
||||
#commentlist { margin: 0px; padding: 0px; }
|
||||
#commentlist li { list-style-type: none; margin: 10px 0px 10px 0px; padding: 5px 5px 0px 5px; border-bottom: 1px solid #666; }
|
||||
#commentlist p { margin: 0px; padding: 10px 5px; }
|
||||
#commentlist .commentmeta { font-weight: bold; margin-bottom: 5px; font-size: 0.75em; }
|
||||
#commentlist .alt { border-bottom: 1px solid #666; }
|
||||
#commentlist blockquote { border: 1px solid #fff; }
|
||||
#commentlist .alt blockquote { border-color: #fff; }
|
||||
#commentform p { margin: 10px 0px 0px 0px; padding: 0px; }
|
||||
#commentform textarea { width: 350px; }
|
||||
|
||||
.meta { margin: -2px 0px 0px 0px; padding: 0; font-size: 0.75em; font-weight: bold; }
|
||||
.postmetadata { font-size: 0.75em; font-weight: bold; text-align: center; }
|
||||
|
||||
form { margin: 0px; padding: 0px; }
|
||||
form input, form textarea, form submit { border: 1px solid #B78E96; background-color: transparent; }
|
||||
acronym { cursor: help; border-bottom: 1px dotted #B78E96 }
|
||||
|
||||
img.centered {display:block; margin: 0 auto 5px auto; border:0; padding:0; }
|
||||
|
||||
img.alignright { display: inline; border:0; margin:5px 7px 0 7px; padding:0; vertical-align: middle; }
|
||||
|
||||
img.alignleft { display: inline; border:0; margin:5px 7px 0 7px; padding:0; vertical-align: middle; }
|
||||
|
||||
img a { border: 0; }
|
||||
|
||||
.alignleft { float:left; text-align:left; }
|
||||
|
||||
.alignright { float:right; text-align:right; }
|
||||
|
||||
.aligncenter {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|