diff options
author | Theo Chatzimichos <tampakrap@gentoo.org> | 2011-05-26 16:56:17 +0300 |
---|---|---|
committer | Theo Chatzimichos <tampakrap@gentoo.org> | 2011-05-26 16:56:17 +0300 |
commit | a2221cecc93e79f6e79bd87c17ea32ca4d33021e (patch) | |
tree | 6f09944971cb099ca74373192a39fe58507bd0ac /themes | |
parent | Update wordpress-importer and smart-youtube (diff) | |
download | blogs-gentoo-a2221cecc93e79f6e79bd87c17ea32ca4d33021e.tar.gz blogs-gentoo-a2221cecc93e79f6e79bd87c17ea32ca4d33021e.tar.bz2 blogs-gentoo-a2221cecc93e79f6e79bd87c17ea32ca4d33021e.zip |
New theme, wp-oxygen
Diffstat (limited to 'themes')
88 files changed, 1441 insertions, 0 deletions
diff --git a/themes/wp-oxygen/404.php b/themes/wp-oxygen/404.php new file mode 100644 index 00000000..21dcddc1 --- /dev/null +++ b/themes/wp-oxygen/404.php @@ -0,0 +1,20 @@ +<?php get_header(); ?> + <div id="content"> + + <div class="post"> + <h2><?php _e('Error 404 - Not Found', 'itheme')?></h2> + + <div class="entry"> + <p><?php _e('Sorry, the page that you are looking for does not exist.', 'itheme')?></p> + </div><!--/entry --> + + </div><!--/post --> + + </div><!--/content --> + + <div id="footer"><a href="http://www.ndesign-studio.com/resources/wp-themes/">WP Theme</a> & <a href="http://www.ndesign-studio.com/stock-icons/">Icons</a> <?php _e('by', 'itheme')?> <a href="http://www.ndesign-studio.com">N.Design Studio</a><br /><abbr title="<?php _e('Localization', 'itheme')?>">L10N</abbr> <?php _e('by', 'itheme')?> <a href="http://www.yukei.net" hreflang="es">yukei.net</a></div> +</div><!--/left-col --> + +<?php get_sidebar(); ?> + +<?php get_footer(); ?>
\ No newline at end of file diff --git a/themes/wp-oxygen/README b/themes/wp-oxygen/README new file mode 100644 index 00000000..b442ec4a --- /dev/null +++ b/themes/wp-oxygen/README @@ -0,0 +1,20 @@ +Oxygen Wordpress Theme +---------------------- + +http://www.gskbyte.net/oxygenwptheme + +WordPress theme modified by gskbyte. Original theme was iTheme, by +N.Design Studio. Oxygen wallpaper, skin and icons by the Oxygen Team. + +To create this theme, I have used only free software: Inkscape, The Gimp, Kate and Konqueror. + +By downloading and using this theme, you agree to the following terms: + - You may NOT resell this theme + - A link back to N.Design Studio and gskbyte.net must be retained in the footer + (either modified or unmodified) + - You may use this theme for personal or commercial projects + - You may modify, translate or distribute + - All the original content (such as SVGs) you modify must be freely available, + following the <a href="http://www.fsf.org">GPL</a> terms. + +Note: to restore transparency on widgets, take a look at the end of file "dbx.css". diff --git a/themes/wp-oxygen/comments.php b/themes/wp-oxygen/comments.php new file mode 100644 index 00000000..2e3463ea --- /dev/null +++ b/themes/wp-oxygen/comments.php @@ -0,0 +1,102 @@ +<?php // Do not delete these lines
+ if ('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"><?php _e('This post is password protected. Enter the password to view comments.', 'itheme')?><p>
+
+ <?php
+ return;
+ }
+ }
+
+ /* This variable is for alternating comment background */
+ $oddcomment = 'alt';
+?>
+
+<!-- You can start editing here. -->
+
+<?php if ($comments) : ?>
+ <h3 id="comments"><?php comments_number( __('No Responses', 'itheme'), __('One Response', 'itheme'), __('% Responses', 'itheme') );?> to “<?php the_title(); ?>”</h3>
+
+ <ol class="commentlist">
+
+ <?php foreach ($comments as $comment) : ?>
+
+ <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
+ <cite><?php comment_author_link() ?></cite> <?php _e('Says', 'itheme')?>:
+ <?php if ($comment->comment_approved == '0') : ?>
+ <em><?php _e('Your comment is awaiting moderation.', 'itheme')?></em>
+ <?php endif; ?>
+ <br />
+
+ <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> <?php _e('at', 'itheme')?> <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small>
+
+ <?php comment_text() ?>
+
+ </li>
+
+ <?php /* Changes every other comment to a different class */
+ if ('alt' == $oddcomment) $oddcomment = '';
+ else $oddcomment = '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"><?php _e(' ', 'itheme')?></p>
+
+ <?php endif; ?>
+<?php endif; ?>
+
+
+<?php if ('open' == $post->comment_status) : ?>
+
+<h3 id="respond"><?php _e('Leave a Reply', 'itheme')?></h3>
+
+<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
+<p><?php _e('You must be', 'itheme')?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>"><?php _e('logged in', 'itheme')?></a> <?php _e('to post a comment.', 'itheme')?></p>
+<?php else : ?>
+
+<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
+
+<?php if ( $user_ID ) : ?>
+
+<p><?php _e('Logged in as', 'itheme')?> <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="<?php _e('Log out of this account', 'itheme')?>"><?php _e('Logout »', 'itheme')?></a></p>
+
+<?php else : ?>
+
+<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
+<label for="author"><strong><?php _e('Name', 'itheme')?></strong> <?php if ($req) echo __('(required)', 'itheme'); ?></label></p>
+
+<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
+<label for="email"><strong><?php _e('Mail', 'itheme')?></strong> <?php _e('(will not be published)', 'itheme')?> <?php if ($req) echo __('(required)', 'itheme'); ?></label></p>
+
+<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
+<label for="url"><strong><?php _e('Website', 'itheme')?></strong></label></p>
+
+<?php endif; ?>
+
+<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
+
+<p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment', 'itheme')?>" />
+<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 ?>
diff --git a/themes/wp-oxygen/dbx-key.js b/themes/wp-oxygen/dbx-key.js new file mode 100644 index 00000000..a8c6f1ee --- /dev/null +++ b/themes/wp-oxygen/dbx-key.js @@ -0,0 +1,36 @@ +
+//the window.onload wrapper around these object constructors is just for demo purposes
+//in practise you would put them in an existing load function, or use a scaleable solution:
+//http://www.brothercake.com/site/resources/scripts/domready/
+//http://www.brothercake.com/site/resources/scripts/onload/
+window.onload = function()
+{
+
+
+
+ //initialise the docking boxes manager
+ var manager = new dbxManager('main'); //session ID [/-_a-zA-Z0-9/]
+
+
+ //create new docking boxes group
+ var sidebar = new dbxGroup(
+ 'sidebar', // container ID [/-_a-zA-Z0-9/]
+ 'vertical', // orientation ['vertical'|'horizontal']
+ '7', // drag threshold ['n' pixels]
+ 'no', // restrict drag movement to container axis ['yes'|'no']
+ '10', // animate re-ordering [frames per transition, or '0' for no effect]
+ 'yes', // include open/close toggle buttons ['yes'|'no']
+ 'open', // default state ['open'|'closed']
+
+ 'open', // word for "open", as in "open this box"
+ 'close', // word for "close", as in "close this box"
+ 'click-down and drag to move this box', // sentence for "move this box" by mouse
+ 'click to %toggle% this box', // pattern-match sentence for "(open|close) this box" by mouse
+ 'use the arrow keys to move this box', // sentence for "move this box" by keyboard
+ ', or press the enter key to %toggle% it', // pattern-match sentence-fragment for "(open|close) this box" by keyboard
+ '%mytitle% [%dbxtitle%]' // pattern-match syntax for title-attribute conflicts
+ );
+
+
+
+};
diff --git a/themes/wp-oxygen/dbx.css b/themes/wp-oxygen/dbx.css new file mode 100644 index 00000000..a694981a --- /dev/null +++ b/themes/wp-oxygen/dbx.css @@ -0,0 +1,136 @@ +/**************************************************************** + Docking Boxes core CSS: YOU MUST NOT CHANGE OR OVERRIDE THESE +*****************************************************************/ +.dbx-clone { + position:absolute; + visibility:hidden; + } +.dbx-clone, .dbx-clone .dbx-handle-cursor { + cursor:move !important; + } +.dbx-dummy { + display:block; + width:0; + height:0; + overflow:hidden; + } +.dbx-group, .dbx-box, .dbx-handle { + position:relative; + display:block; + } +/**************************************************************** + avoid padding, margins or borders on dbx-box, + to reduce visual discrepancies between it and the clone. + overall, dbx-box is best left as visually unstyled as possible +*****************************************************************/ +.dbx-box { + margin:0; + padding:0; + border:none; + clear: both; + } +/**************************************************************** + otherwise, do what you like :) +*****************************************************************/ +/* group container(s) */ +.dbx-group { + width:210px; + padding:0 0px 10px; +} +* html .dbx-group { + width: 210px; + padding-bottom:0; +} + +/* handles */ +.dbx-handle { + position:relative; + margin:0; + padding: 16px 24px 7px 10px; + background:url(images/sidep-handle.png) no-repeat 0 0; +} +* html .dbx-handle { + width: 176px; +} +/* handle cursors are in a class of their own + so they only get applied if the script is supported */ +.dbx-handle-cursor { + cursor:move; +} + +/* toggle images */ +a.dbx-toggle, a.dbx-toggle:visited { + display:block; + width:20px; + height:20px; + overflow:hidden; + background:url(images/sidep-toggle.png) no-repeat; + position:absolute; + top:12px; + right:3px; + text-indent:-50px; + text-decoration:none; +} +a.dbx-toggle-open, a.dbx-toggle-open:visited { + background-position:0 0; +} +a.dbx-toggle-closed, a.dbx-toggle-closed:visited { + background-position:0 -20px; +} +a.dbx-toggle-hilite-open, a.dbx-toggle-hilite-open:visited { + background-position:-20px 0; +} +a.dbx-toggle-hilite-closed, a.dbx-toggle-hilite-closed:visited { + background-position:-20px -20px; +} + +/* keyboard navigation tooltip */ +.dbx-tooltip { + display:block; + position:absolute; + margin:36px 0 0 125px; + width:185px; + border:1px solid #000; + background:#ffd; + color:#000; + font:normal normal normal 0.85em tahoma, arial, sans-serif; + padding:2px 4px 3px 5px; + text-align:left; +} +* html .dbx-tooltip { width:210px; } + +/* use CSS2 system colors in CSS2 browsers + but not safari, which doesn't support them */ +*[class="dbx-tooltip"]:lang(en) { + border-color:InfoText; + background:InfoBackground; + color:InfoText; + font:small-caption; + font-weight:normal; + } +/* inner content area */ +.dbx-content { + margin: 0; + padding: 5px 10px 9px 10px; + background: url(images/sidep-bottom.png) no-repeat 0 100%; + overflow: hidden; +} +/* toggle state of inner content area */ +.dbx-box-closed .dbx-content { + display:block; + height:4px; + padding:0; + overflow:hidden; +} +.dbx-box-closed .dbx-content * { + display:none; +} + +/* additional clone styles +*** Uncomment this to enable transparency on widgets *** +.dbx-clone { + opacity:0.8; + -moz-opacity:0.8; + -khtml-opacity:0.8; + filter:alpha(opacity=80); +}*/
\ No newline at end of file diff --git a/themes/wp-oxygen/dbx.js b/themes/wp-oxygen/dbx.js new file mode 100644 index 00000000..5d38e6a4 --- /dev/null +++ b/themes/wp-oxygen/dbx.js @@ -0,0 +1,6 @@ +// DBX2.05 :: Docking Boxes (dbx)
+// *****************************************************
+// DOM scripting by brothercake -- http://www.brothercake.com/
+// GNU Lesser General Public License -- http://www.gnu.org/licenses/lgpl.html
+//******************************************************
+var dbx;function dbxManager(sid){dbx = this;if(!/^[-_a-z0-9]+$/i.test(sid)) { alert('Error from dbxManager:\n"' + sid + '" is an invalid session ID'); return; }this.supported = !(document.getElementsByTagName('*').length == 0 || (navigator.vendor == 'KDE' && typeof window.sidebar == 'undefined'));if(!this.supported) { return; }this.etype = typeof document.addEventListener != 'undefined' ? 'addEventListener' : typeof document.attachEvent != 'undefined' ? 'attachEvent' : 'none';this.eprefix = (this.etype == 'attachEvent' ? 'on' : '');if(typeof window.opera != 'undefined' && parseFloat(navigator.userAgent.toLowerCase().split(/opera[\/ ]/)[1].split(' ')[0], 10) < 7.5){this.etype = 'none';}if(this.etype == 'none') { this.supported = false; return; }this.running = 0;this.sid = sid;this.savedata = {};this.cookiestate = this.getCookieState();};dbxManager.prototype.setCookieState = function(){var now = new Date();now.setTime(now.getTime() + (365*24*60*60*1000));var str = '';for(j in this.savedata){if(typeof this.savedata[j]!='function'){str += j + '=' + this.savedata[j] + '&'}}this.state = str.replace(/^(.+)&$/, '$1');this.cookiestring = this.state.replace(/,/g, '|');this.cookiestring = this.cookiestring.replace(/=/g, ':');if(typeof this.onstatechange == 'undefined' || this.onstatechange()){document.cookie = 'dbx-' + this.sid + '='+ this.cookiestring+ '; expires=' + now.toGMTString()+ '; path=/';}};dbxManager.prototype.getCookieState = function(){this.cookiestate = null;if(document.cookie){if(document.cookie.indexOf('dbx-' + this.sid)!=-1){this.cookie = document.cookie.split('dbx-' + this.sid + '=')[1].split(';')[0].split('&');for(var i in this.cookie){if(typeof this.cookie[i]!='function'){this.cookie[i] = this.cookie[i].replace(/\|/g, ',');this.cookie[i]= this.cookie[i].replace(/:/g, '=');this.cookie[i] = this.cookie[i].split('=');this.cookie[i][1] = this.cookie[i][1].split(',');}}this.cookiestate = {};for(i in this.cookie){if(typeof this.cookie[i]!='function'){this.cookiestate[this.cookie[i][0]] = this.cookie[i][1];}}}}return this.cookiestate;};dbxManager.prototype.addDataMember = function(gid, order){this.savedata[gid] = order;};dbxManager.prototype.createElement = function(tag){return typeof document.createElementNS != 'undefined' ? document.createElementNS('http://www.w3.org/1999/xhtml', tag) : document.createElement(tag);};dbxManager.prototype.getTarget = function(e, pattern, node){if(typeof node != 'undefined'){var target = node;}else{target = typeof e.target != 'undefined' ? e.target : e.srcElement;}var regex = new RegExp(pattern, '');while(!regex.test(target.className)){target = target.parentNode;}return target;};function dbxGroup(gid, dir, thresh, fix, ani, togs, def, open, close, move, toggle, kmove, ktoggle, syntax){if(!/^[-_a-z0-9]+$/i.test(gid)) { alert('Error from dbxGroup:\n"' + gid + '" is an invalid container ID'); return; }this.container = document.getElementById(gid);if(this.container == null || !dbx.supported) { return; }var self = this;this.gid = gid;this.dragok = false;this.box = null;this.vertical = dir == 'vertical';this.threshold = parseInt(thresh, 10);this.restrict = fix == 'yes';this.resolution = parseInt(ani, 10);this.toggles = togs == 'yes';this.defopen = def != 'closed';this.vocab = {'open' : open,'close' : close,'move' : move,'toggle' : toggle,'kmove' : kmove,'ktoggle' : ktoggle,'syntax' : syntax};this.container.style.position = 'relative';this.container.style.display = 'block';if(typeof window.opera != 'undefined'){this.container.style.display = 'run-in';}this.boxes = [];this.buttons = [];this.order = [];this.eles = this.container.getElementsByTagName('*');for(var i=0; i<this.eles.length; i++){if(/dbx\-box/i.test(this.eles[i].className) && !/dbx\-dummy/i.test(this.eles[i].className)){this.eles[i].style.position = 'relative';this.eles[i].style.display = 'block';this.boxes.push(this.eles[i]);this.eles[i].className += ' dbx-box-open';this.eles[i].className += ' dbxid' + this.order.length;this.order.push(this.order.length.toString() + '+');this.eles[i][dbx.etype](dbx.eprefix + 'mousedown', function(e){if(!e) { e = window.event; }self.mousedown(e, dbx.getTarget(e, 'dbx\-box'));}, false);}if(/dbx\-handle/i.test(this.eles[i].className)){this.eles[i].style.position = 'relative';this.eles[i].style.display = 'block';this.eles[i].className += ' dbx-handle-cursor';this.eles[i].setAttribute('title', this.eles[i].getAttribute('title') == null || this.eles[i].title == '' ? this.vocab.move : this.vocab.syntax.replace('%mytitle%', this.eles[i].title).replace('%dbxtitle%', this.vocab.move));if(this.toggles){this.buttons.push(this.addToggleBehavior(this.eles[i]));}else{this.eles[i][dbx.etype](dbx.eprefix + 'key' + (typeof document.uniqueID != 'undefined' || navigator.vendor == 'Apple Computer, Inc.' ? 'down' : 'press'), function(e){if(!e) { e = window.event; }return self.keypress(e, dbx.getTarget(e, 'dbx\-handle'));}, false);this.eles[i][dbx.etype](dbx.eprefix + 'focus', function(e){if(!e) { e = window.event; }self.createTooltip(null, dbx.getTarget(e, 'dbx\-handle'));}, false);this.eles[i][dbx.etype](dbx.eprefix + 'blur', function(){self.removeTooltip();}, false);}}}dbx.addDataMember(this.gid, this.order.join(','));var dummy = this.container.appendChild(dbx.createElement('span'));dummy.className = 'dbx-box dbx-dummy';dummy.style.display = 'block';dummy.style.width = '0';dummy.style.height = '0';dummy.style.overflow = 'hidden';if(this.vertical) { dummy.className += ' dbx-offdummy'; }this.boxes.push(dummy);if(dbx.cookiestate != null && typeof dbx.cookiestate[this.gid] != 'undefined'){var num = dbx.cookiestate[this.gid].length;if(num == this.boxes.length - 1){for(i=0; i<num; i++){var index = parseInt(dbx.cookiestate[this.gid][i], 10);this.container.insertBefore(this.boxes[index], dummy);if(this.toggles && /\-$/.test(dbx.cookiestate[this.gid][i])){this.toggleBoxState(this.buttons[index], false);}}this.getBoxOrder();}}else if(!this.defopen && this.toggles){var len = this.buttons.length;for(i=0; i<len; i++){this.toggleBoxState(this.buttons[i], true);}}document[dbx.etype](dbx.eprefix + 'mouseout', function(e){if(typeof e.target == 'undefined') { e = window.event; e.relatedTarget = e.toElement; }if(e.relatedTarget == null){self.mouseup(e);}}, false);document[dbx.etype](dbx.eprefix + 'mousemove', function(e){self.mousemove(e);return !self.dragok;}, false);document[dbx.etype](dbx.eprefix + 'mouseup', function(e){self.mouseup(e);}, false);this.keydown = false;document[dbx.etype](dbx.eprefix + 'keydown', function(){self.keydown = true;}, false);document[dbx.etype](dbx.eprefix + 'keyup', function(){self.keydown = false;}, false);};dbxGroup.prototype.addToggleBehavior = function(){var self = this;var button = arguments[0].appendChild(dbx.createElement('a'));button.appendChild(document.createTextNode('\u00a0'));button.style.cursor = 'pointer';button.href = 'javascript:void(null)';button.className = 'dbx-toggle dbx-toggle-open';button.setAttribute('title', this.vocab.toggle.replace('%toggle%', this.vocab.close));button.hasfocus = typeof window.opera != 'undefined' || navigator.vendor == 'Apple Computer, Inc.' ? null : false;this.tooltip = null;button.onclick = function(){if(this.hasfocus === true || this.hasfocus === null){self.removeTooltip();self.toggleBoxState(this, true);}};button['onkey' + (typeof document.uniqueID != 'undefined' || navigator.vendor == 'Apple Computer, Inc.' ? 'down' : 'press')] = function(e){if(!e) { e = window.event; }return self.keypress(e, this);};button.onfocus = function(){var len = self.buttons.length;for(var i=0; i<len; i++){self.buttons[i].className = self.buttons[i].className.replace(/[ ](dbx\-toggle\-hilite\-)(open|closed)/, '');}var isopen = (/dbx\-toggle\-open/.test(this.className));this.className += ' dbx-toggle-hilite-' + (isopen ? 'open' : 'closed');self.createTooltip(isopen, this);this.isactive = true;if(this.hasfocus !== null) { this.hasfocus = true; }};button.onblur = function(){this.className = this.className.replace(/[ ](dbx\-toggle\-hilite\-)(open|closed)/, '');self.removeTooltip();if(this.hasfocus !== null) { this.hasfocus = false; }};return button;};dbxGroup.prototype.toggleBoxState = function(button, regen){var isopen = (/dbx\-toggle\-open/.test(button.className));var parent = dbx.getTarget(null, 'dbx\-box', button);dbx.box = parent;dbx.toggle = button;if(typeof dbx.container == 'undefined'){dbx.group = dbx.getTarget(null, 'dbx\-group', parent);}else { dbx.group = dbx.container; }if((!isopen && (typeof dbx.onboxopen == 'undefined' || dbx.onboxopen()))||(isopen && (typeof dbx.onboxclose == 'undefined' || dbx.onboxclose()))){button.className = 'dbx-toggle dbx-toggle-' + (isopen ? 'closed' : 'open');button.title = this.vocab.toggle.replace('%toggle%', isopen ? this.vocab.open : this.vocab.close);if(typeof button.isactive != 'undefined'){button.className += ' dbx-toggle-hilite-' + (isopen ? 'closed' : 'open')}parent.className = parent.className.replace(/[ ](dbx-box-)(open|closed)/, ' $1' + (isopen ? 'closed' : 'open'));if(regen) { this.getBoxOrder(); }}};dbxGroup.prototype.shiftBoxPosition = function(e, anchor, positive){var parent = dbx.getTarget(null, 'dbx\-box', anchor);dbx.group = this.container;dbx.box = parent;dbx.event = e;if(typeof dbx.onboxdrag == 'undefined' || dbx.onboxdrag()){var positions = [];var len = this.boxes.length;for(var i=0; i<len; i++){positions[i] = [i, this.boxes[i][this.vertical ? 'offsetTop' : 'offsetLeft']];if(parent == this.boxes[i]) { this.idref = i; }}positions.sort(this.compare);for(i=0; i<len; i++){if(positions[i][0] == this.idref){if((positive && i < len - 2) || (!positive && i > 0)){var sibling = this.boxes[positions[i + (positive ? 1 : -1)][0]];if(this.resolution > 0){var visipos = { 'x' : parent.offsetLeft, 'y' : parent.offsetTop };var siblingpos = { 'x' : sibling.offsetLeft, 'y' : sibling.offsetTop };}var obj = { 'insert' : (positive ? sibling : parent), 'before' : (positive ? parent : sibling) };this.container.insertBefore(obj.insert, obj.before);if(this.resolution > 0){var animators ={'sibling' : new dbxAnimator(this, sibling, siblingpos, this.resolution, true, anchor),'parent' : new dbxAnimator(this, parent, visipos, this.resolution, true, anchor)};}else{anchor.focus();}break;}}}this.getBoxOrder();}};dbxGroup.prototype.compare = function(a, b){return a[1] - b[1];};dbxGroup.prototype.createTooltip = function(isopen, anchor){if(this.keydown){this.tooltip = this.container.appendChild(dbx.createElement('span'));this.tooltip.style.visibility = 'hidden';this.tooltip.className = 'dbx-tooltip';if(isopen != null){this.tooltip.appendChild(document.createTextNode(this.vocab.kmove + this.vocab.ktoggle.replace('%toggle%', isopen ? this.vocab.close : this.vocab.open)));}else{this.tooltip.appendChild(document.createTextNode(this.vocab.kmove));}var parent = dbx.getTarget(null, 'dbx\-box', anchor);this.tooltip.style.left = parent.offsetLeft + 'px';this.tooltip.style.top = parent.offsetTop + 'px';var tooltip = this.tooltip;window.setTimeout(function(){if(tooltip != null) { tooltip.style.visibility = 'visible'; }}, 500);}};dbxGroup.prototype.removeTooltip = function(){if(this.tooltip != null){this.tooltip.parentNode.removeChild(this.tooltip);this.tooltip = null;}};dbxGroup.prototype.mousedown = function(e, box){var node = typeof e.target != 'undefined' ? e.target : e.srcElement;if(node.nodeName == '#text') { node = node.parentNode; }if(!/dbx\-(toggle|box|group)/i.test(node.className)){while(!/dbx\-(handle|box|group)/i.test(node.className)){node = node.parentNode;}}if(/dbx\-handle/i.test(node.className)){this.removeTooltip();this.released = false;this.initial = { 'x' : e.clientX, 'y' : e.clientY };this.current = { 'x' : 0, 'y' : 0 };this.createCloneBox(box);if(typeof e.preventDefault != 'undefined' ) { e.preventDefault(); }if(typeof document.onselectstart != 'undefined'){document.onselectstart = function() { return false; }}}};dbxGroup.prototype.mousemove = function(e){if(this.dragok && this.box != null){this.positive = this.vertical ? (e.clientY > this.current.y ? true : false) : (e.clientX > this.current.x ? true : false);this.current = { 'x' : e.clientX, 'y' : e.clientY };var overall = { 'x' : this.current.x - this.initial.x, 'y' : this.current.y - this.initial.y };if(((overall.x >= 0 && overall.x <= this.threshold) || (overall.x <= 0 && overall.x >= 0 - this.threshold))&&((overall.y >= 0 && overall.y <= this.threshold) || (overall.y <= 0 && overall.y >= 0 - this.threshold))){this.current.x -= overall.x;this.current.y -= overall.y;}if(this.released || overall.x > this.threshold || overall.x < (0 - this.threshold) || overall.y > this.threshold || overall.y < (0 - this.threshold)){dbx.group = this.container;dbx.box = this.box;dbx.event = e;if(typeof dbx.onboxdrag == 'undefined' || dbx.onboxdrag()){this.released = true;if(!this.restrict || !this.vertical) { this.boxclone.style.left = (this.current.x - this.difference.x) + 'px'; }if(!this.restrict || this.vertical) { this.boxclone.style.top = (this.current.y - this.difference.y) + 'px'; }this.moveOriginalToPosition(this.current.x, this.current.y);if(typeof e.preventDefault != 'undefined' ) { e.preventDefault(); }}}}return true;};dbxGroup.prototype.mouseup = function(e){if(this.box != null){this.moveOriginalToPosition(e.clientX, e.clientY);this.removeCloneBox();this.getBoxOrder();if(typeof document.onselectstart != 'undefined'){document.onselectstart = function() { return true; }}}this.dragok = false;};dbxGroup.prototype.keypress = function(e, anchor){if(/^(3[7-9])|(40)$/.test(e.keyCode)){this.removeTooltip();if((this.vertical && /^(38|40)$/.test(e.keyCode)) || (!this.vertical && /^(37|39)$/.test(e.keyCode))){this.shiftBoxPosition(e, anchor, /^[3][78]$/.test(e.keyCode) ? false : true);if(typeof e.preventDefault != 'undefined') { e.preventDefault(); }else { return false; }typeof e.stopPropagation != 'undefined' ? e.stopPropagation() : e.cancelBubble = true;this.keydown = false;}}return true;};dbxGroup.prototype.getBoxOrder = function(){this.order = [];var len = this.eles.length;for(var j=0; j<len; j++){if(/dbx\-box/i.test(this.eles[j].className) && !/dbx\-(clone|dummy)/i.test(this.eles[j].className)){this.order.push(this.eles[j].className.split('dbxid')[1] + (/dbx\-box\-open/i.test(this.eles[j].className) ? '+' : '-'));}}dbx.savedata[this.gid] = this.order.join(',');dbx.setCookieState();};dbxGroup.prototype.createClone = function(){var clone = this.container.appendChild(arguments[0].cloneNode(true));clone.className += ' dbx-clone';clone.style.position = 'absolute';clone.style.visibility = 'hidden';clone.style.zIndex = arguments[1];clone.style.left = arguments[2].x + 'px';clone.style.top = arguments[2].y + 'px';clone.style.width = arguments[0].offsetWidth + 'px';clone.style.height = arguments[0].offsetHeight + 'px';return clone;};dbxGroup.prototype.createCloneBox = function(box){this.box = box;this.position = { 'x' : this.box.offsetLeft, 'y' : this.box.offsetTop };this.difference = { 'x' : (this.initial.x - this.position.x), 'y' : (this.initial.y - this.position.y) };this.boxclone = this.createClone(this.box, 30000, this.position);this.boxclone.style.cursor = 'move';this.dragok = true;};dbxGroup.prototype.removeCloneBox = function(){this.container.removeChild(this.boxclone);this.box.style.visibility = 'visible';this.box = null;};dbxGroup.prototype.moveOriginalToPosition = function(clientX, clientY){var cloneprops = {'xy' : this.vertical ? clientY - this.difference.y : clientX - this.difference.x,'wh' : this.vertical ? this.boxclone.offsetHeight : this.boxclone.offsetWidth};this.box.style.visibility = 'hidden';this.boxclone.style.visibility = 'visible';var len = this.boxes.length;for(var i=0; i<len; i++){var boxprops = {'xy' : this.vertical ? this.boxes[i].offsetTop : this.boxes[i].offsetLeft,'wh' : this.vertical ? this.boxes[i].offsetHeight : this.boxes[i].offsetWidth};if((this.positive && cloneprops.xy + cloneprops.wh > boxprops.xy && cloneprops.xy < boxprops.xy)||(!this.positive && cloneprops.xy < boxprops.xy && cloneprops.xy + cloneprops.wh > boxprops.xy)){if(this.boxes[i] == this.box) { return; }var sibling = this.box.nextSibling;while(sibling.className == null || !/dbx\-box/.test(sibling.className)){sibling = sibling.nextSibling;}if(this.boxes[i] == sibling) { return; }if(this.resolution > 0){if(this.box[this.vertical ? 'offsetTop' : 'offsetLeft'] < boxprops.xy){var visibox = this.boxes[i].previousSibling;while(visibox.className == null || !/dbx\-box/.test(visibox.className)){visibox = visibox.previousSibling;}}else{visibox = this.boxes[i];}var visipos = { 'x' : visibox.offsetLeft, 'y' : visibox.offsetTop };}var prepos = { 'x' : this.box.offsetLeft, 'y' : this.box.offsetTop };this.container.insertBefore(this.box, this.boxes[i]);this.initial.x += (this.box.offsetLeft - prepos.x);this.initial.y += (this.box.offsetTop - prepos.y);if(this.resolution > 0 && visibox != this.box){var animator = new dbxAnimator(this, visibox, visipos, this.resolution, false, null);}else{}break;}}};function dbxAnimator(caller, box, pos, res, kbd, anchor){this.caller = caller;this.box = box;this.timer = null;var before = pos[this.caller.vertical ? 'y' : 'x'];var after = this.box[this.caller.vertical ? 'offsetTop' : 'offsetLeft'];if(before != after){if(dbx.running > this.caller.boxes.length - 1) { return; }var clone = this.caller.createClone(this.box, 29999, arguments[2]);clone.style.visibility = 'visible';this.box.style.visibility = 'hidden';this.animateClone(clone,before,after > before ? after - before : 0 - (before - after),this.caller.vertical ? 'top' : 'left',res,kbd,anchor);}};dbxAnimator.prototype.animateClone = function(clone, current, change, dir, res, kbd, anchor){var self = this;var count = 0;dbx.running ++;this.timer = window.setInterval(function(){count ++;current += change / res;clone.style[dir] = current + 'px';if(count == res){window.clearTimeout(self.timer);self.timer = null;dbx.running --;self.caller.container.removeChild(clone);self.box.style.visibility = 'visible';if(kbd){if(anchor != null && anchor.parentNode.style.visibility != 'hidden'){anchor.focus();}else if(self.caller.toggles){var button = self.caller.buttons[parseInt(self.box.className.split('dbxid')[1],10)];if(button != null && typeof button.isactive != 'undefined'){button.focus();}}}}}, 20);};if(typeof window.attachEvent != 'undefined'){window.attachEvent('onunload', function(){var ev = ['mousedown', 'mousemove', 'mouseup', 'mouseout', 'click', 'keydown', 'keyup', 'focus', 'blur', 'selectstart', 'statechange', 'boxdrag', 'boxopen', 'boxclose'];var el = ev.length;var dl = document.all.length;for(var i=0; i<dl; i++){for(var j=0; j<el; j++){document.all[i]['on' + ev[j]] = null;}}});}
\ No newline at end of file diff --git a/themes/wp-oxygen/footer.php b/themes/wp-oxygen/footer.php new file mode 100644 index 00000000..caed8ab9 --- /dev/null +++ b/themes/wp-oxygen/footer.php @@ -0,0 +1,9 @@ + <hr class="hidden" /> + + </div><!--/wrapper --> + +</div><!--/page --> + +<?php wp_footer(); ?> +</body> +</html>
\ No newline at end of file diff --git a/themes/wp-oxygen/functions.php b/themes/wp-oxygen/functions.php new file mode 100644 index 00000000..db42ccd7 --- /dev/null +++ b/themes/wp-oxygen/functions.php @@ -0,0 +1,58 @@ +<?php load_theme_textdomain('itheme')?> +<?php +if ( function_exists('register_sidebar') ) + register_sidebar(array( + 'before_widget' => '<!--sidebox start --><div id="%1$s" class="dbx-box %2$s">', + 'after_widget' => '</div></div><!--sidebox end -->', + 'before_title' => '<h3 class="dbx-handle">', + 'after_title' => '</h3><div class="dbx-content">', + )); +?> +<?php function widget_itheme_search() { +?><?php +} +if ( function_exists('register_sidebar_widget') ) + register_sidebar_widget(__('Search'), 'widget_itheme_search'); +?><?php function widget_itheme_meta() { +?> + <!--sidebox start --> + <div id="meta" class="dbx-box"> + <h3 class="dbx-handle">Meta</h3> + <div class="dbx-content"> + <ul> + <li class="rss"><a href="<?php bloginfo('rss2_url'); ?>"><?php _e('Entries (RSS)', 'itheme')?></a></li> + <li class="rss"><a href="<?php bloginfo('comments_rss2_url'); ?>"><?php _e('Comments (RSS)', 'itheme')?></a></li> + <li class="wordpress"><a href="http://www.wordpress.org" title="<?php _e('Powered by WordPress', 'itheme')?>">WordPress</a></li> + <li class="login"><?php wp_loginout(); ?></li> + </ul> + </div> + </div> + <!--sidebox end --> + +<?php +} +if ( function_exists('register_sidebar_widget') ) + register_sidebar_widget(__('Meta'), 'widget_itheme_meta'); +?><?php function widget_itheme_links() { +?> + <!--sidebox start --> + <div id="links" class="dbx-box"> + <h3 class="dbx-handle"><?php _e('Links'); ?></h3> + <div class="dbx-content"> + <ul> + <?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'id', FALSE, FALSE, -1, FALSE); ?> + </ul> + </div> + </div> + <!--sidebox end --><?php +} +if ( function_exists('register_sidebar_widget') ) + register_sidebar_widget(__('Links'), 'widget_itheme_links'); +?><?php function footer_theme_info() { +?> + <div id="footer"> + <a href="http://www.gskbyte.net/oxygenwptheme">Oxygen Wordpress Theme</a> by <a href="http://www.gskbyte.net/">gskbyte</a>. <br /> + Using <a href="http://www.oxygen-icons.org/">Oxygen</a> style and icons, and <b>Blue Curl</b> Wallpaper by <a href="http://pinheiro-kde.blogspot.com/">Nuno Pinheiro</a>.<br /> + Original <a href="http://www.ndesign-studio.com/resources/wp-themes/">WP Theme</a> by <a href="http://www.ndesign-studio.com">N.Design Studio</a>. + </div> +<?php } ?> diff --git a/themes/wp-oxygen/header.php b/themes/wp-oxygen/header.php new file mode 100644 index 00000000..a43fafb3 --- /dev/null +++ b/themes/wp-oxygen/header.php @@ -0,0 +1,69 @@ +<?php load_theme_textdomain('itheme')?> +<!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('|',true,'right'); ?><?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="all" /> +<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" type="text/css" media="print" /> + +<!-- Sidebar docking boxes (dbx) by Brothercake - http://www.brothercake.com/ --> +<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/dbx.js"></script> +<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/dbx-key.js"></script> +<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/dbx.css" media="screen, projection" /> + +<!--[if lt IE 7]> +<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/ie-gif.css" type="text/css" /> +<![endif]--> + +<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> +<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> +<link rel="shortcut icon" href="/wp-content/themes/wp-oxygen/images/mini-blogroll.png" /> + +<?php wp_head(); ?> +</head> +<body> +<div id="page"> + <div id="wrapper"> + <div id="header"> + <!--h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1--> + <a href="<?php echo get_settings('home'); ?>"><img src="/wp-content/uploads/banner.png"></a> + <div class="description"><?php bloginfo('description'); ?></div> + <?php include (TEMPLATEPATH . '/searchform.php'); ?> + </div><!-- /header --> + + <div id="left-col"> + <div id="nav"> + <ul> + <li class="page_item <?php if ( is_home() ) { ?>current_page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>/" title="<?php _e('Home', 'itheme')?>"><?php _e('Home', 'itheme')?></a></li> + <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?> + </ul> + </div><!-- /nav --> + + <?php /* Menu for subpages of current page (thanks to K2 theme for this code) */ + global $notfound; + if (is_page() and ($notfound != '1')) { + $current_page = $post->ID; + while($current_page) { + $page_query = $wpdb->get_row("SELECT ID, post_title, post_status, post_parent FROM $wpdb->posts WHERE ID = '$current_page'"); + $current_page = $page_query->post_parent; + } + $parent_id = $page_query->ID; + $parent_title = $page_query->post_title; + + // if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_status != 'attachment'")) { + if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_type != 'attachment'")) { + ?> + + <div id="subnav"> + <ul> + <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=&child_of='. $parent_id); ?> + </ul> + </div><!-- /sub nav --> + <?php } } ?> + diff --git a/themes/wp-oxygen/ie-gif.css b/themes/wp-oxygen/ie-gif.css new file mode 100644 index 00000000..c8b76ba0 --- /dev/null +++ b/themes/wp-oxygen/ie-gif.css @@ -0,0 +1,26 @@ +#searchform { + background: url(images/gif/searchform-bg.gif) no-repeat right bottom; +} +#searchform #searchsubmit { + background: url(images/gif/search-btn.gif) no-repeat left top; +} +.dbx-handle { + background:url(images/gif/sidep-handle.gif) no-repeat 0 0; +} +a.dbx-toggle, a.dbx-toggle:visited { + background:url(images/gif/sidep-toggle.gif) no-repeat; +} +.dbx-content { + background: url(images/gif/sidep-bottom.gif) no-repeat 0 100%; +} +#nav { + background: url(images/gif/content-top-bg.gif) no-repeat left top; +} +#footer { + background: url(images/gif/content-bottom-bg.gif) no-repeat; +} + +/* Another stupid fix for Internet Exploder, which always shows the icon, even if it isn't used. */ +.postdata .edit{ + background: ; +}
\ No newline at end of file diff --git a/themes/wp-oxygen/images/.directory b/themes/wp-oxygen/images/.directory new file mode 100644 index 00000000..22190493 --- /dev/null +++ b/themes/wp-oxygen/images/.directory @@ -0,0 +1,5 @@ +[Dolphin] +CategorizedSorting=true +ShowPreview=true +Sorting=6 +Timestamp=2008,12,11,16,59,44 diff --git a/themes/wp-oxygen/images/blank.gif b/themes/wp-oxygen/images/blank.gif Binary files differnew file mode 100644 index 00000000..43d3ab2e --- /dev/null +++ b/themes/wp-oxygen/images/blank.gif diff --git a/themes/wp-oxygen/images/bullet-green.gif b/themes/wp-oxygen/images/bullet-green.gif Binary files differnew file mode 100644 index 00000000..f4313954 --- /dev/null +++ b/themes/wp-oxygen/images/bullet-green.gif diff --git a/themes/wp-oxygen/images/bullet-grey.gif b/themes/wp-oxygen/images/bullet-grey.gif Binary files differnew file mode 100644 index 00000000..6bd8a668 --- /dev/null +++ b/themes/wp-oxygen/images/bullet-grey.gif diff --git a/themes/wp-oxygen/images/bullet-orange.gif b/themes/wp-oxygen/images/bullet-orange.gif Binary files differnew file mode 100644 index 00000000..5823f816 --- /dev/null +++ b/themes/wp-oxygen/images/bullet-orange.gif diff --git a/themes/wp-oxygen/images/calendar.gif b/themes/wp-oxygen/images/calendar.gif Binary files differnew file mode 100644 index 00000000..851eb1a3 --- /dev/null +++ b/themes/wp-oxygen/images/calendar.gif diff --git a/themes/wp-oxygen/images/calendar.png b/themes/wp-oxygen/images/calendar.png Binary files differnew file mode 100644 index 00000000..2ab96879 --- /dev/null +++ b/themes/wp-oxygen/images/calendar.png diff --git a/themes/wp-oxygen/images/comments.gif b/themes/wp-oxygen/images/comments.gif Binary files differnew file mode 100644 index 00000000..0de98483 --- /dev/null +++ b/themes/wp-oxygen/images/comments.gif diff --git a/themes/wp-oxygen/images/comments.png b/themes/wp-oxygen/images/comments.png Binary files differnew file mode 100644 index 00000000..7451cc8c --- /dev/null +++ b/themes/wp-oxygen/images/comments.png diff --git a/themes/wp-oxygen/images/comments2.gif b/themes/wp-oxygen/images/comments2.gif Binary files differnew file mode 100644 index 00000000..0de98483 --- /dev/null +++ b/themes/wp-oxygen/images/comments2.gif diff --git a/themes/wp-oxygen/images/content-bg.gif b/themes/wp-oxygen/images/content-bg.gif Binary files differnew file mode 100644 index 00000000..b1af4d07 --- /dev/null +++ b/themes/wp-oxygen/images/content-bg.gif diff --git a/themes/wp-oxygen/images/content-bg.png b/themes/wp-oxygen/images/content-bg.png Binary files differnew file mode 100644 index 00000000..5306ccd7 --- /dev/null +++ b/themes/wp-oxygen/images/content-bg.png diff --git a/themes/wp-oxygen/images/content-bottom-bg.gif b/themes/wp-oxygen/images/content-bottom-bg.gif Binary files differnew file mode 100644 index 00000000..98543a0a --- /dev/null +++ b/themes/wp-oxygen/images/content-bottom-bg.gif diff --git a/themes/wp-oxygen/images/content-bottom-bg.png b/themes/wp-oxygen/images/content-bottom-bg.png Binary files differnew file mode 100644 index 00000000..7e95cf8a --- /dev/null +++ b/themes/wp-oxygen/images/content-bottom-bg.png diff --git a/themes/wp-oxygen/images/content-top-bg.gif b/themes/wp-oxygen/images/content-top-bg.gif Binary files differnew file mode 100644 index 00000000..2e5a1ca2 --- /dev/null +++ b/themes/wp-oxygen/images/content-top-bg.gif diff --git a/themes/wp-oxygen/images/content-top-bg.png b/themes/wp-oxygen/images/content-top-bg.png Binary files differnew file mode 100644 index 00000000..2662a5e0 --- /dev/null +++ b/themes/wp-oxygen/images/content-top-bg.png diff --git a/themes/wp-oxygen/images/edit.gif b/themes/wp-oxygen/images/edit.gif Binary files differnew file mode 100644 index 00000000..0697e39e --- /dev/null +++ b/themes/wp-oxygen/images/edit.gif diff --git a/themes/wp-oxygen/images/edit.png b/themes/wp-oxygen/images/edit.png Binary files differnew file mode 100644 index 00000000..68ff100f --- /dev/null +++ b/themes/wp-oxygen/images/edit.png diff --git a/themes/wp-oxygen/images/form-field-bg.gif b/themes/wp-oxygen/images/form-field-bg.gif Binary files differnew file mode 100644 index 00000000..2ad2964e --- /dev/null +++ b/themes/wp-oxygen/images/form-field-bg.gif diff --git a/themes/wp-oxygen/images/gif/.directory b/themes/wp-oxygen/images/gif/.directory new file mode 100644 index 00000000..ee5afb93 --- /dev/null +++ b/themes/wp-oxygen/images/gif/.directory @@ -0,0 +1,5 @@ +[Dolphin] +CategorizedSorting=true +ShowPreview=true +Sorting=6 +Timestamp=2008,12,11,18,6,13 diff --git a/themes/wp-oxygen/images/gif/content-bottom-bg.gif b/themes/wp-oxygen/images/gif/content-bottom-bg.gif Binary files differnew file mode 100644 index 00000000..98543a0a --- /dev/null +++ b/themes/wp-oxygen/images/gif/content-bottom-bg.gif diff --git a/themes/wp-oxygen/images/gif/content-top-bg.gif b/themes/wp-oxygen/images/gif/content-top-bg.gif Binary files differnew file mode 100644 index 00000000..2e5a1ca2 --- /dev/null +++ b/themes/wp-oxygen/images/gif/content-top-bg.gif diff --git a/themes/wp-oxygen/images/gif/search-btn.gif b/themes/wp-oxygen/images/gif/search-btn.gif Binary files differnew file mode 100644 index 00000000..bdeea0e0 --- /dev/null +++ b/themes/wp-oxygen/images/gif/search-btn.gif diff --git a/themes/wp-oxygen/images/gif/searchform-bg.gif b/themes/wp-oxygen/images/gif/searchform-bg.gif Binary files differnew file mode 100644 index 00000000..580cf70a --- /dev/null +++ b/themes/wp-oxygen/images/gif/searchform-bg.gif diff --git a/themes/wp-oxygen/images/gif/sidep-bottom.gif b/themes/wp-oxygen/images/gif/sidep-bottom.gif Binary files differnew file mode 100644 index 00000000..35b4d1e2 --- /dev/null +++ b/themes/wp-oxygen/images/gif/sidep-bottom.gif diff --git a/themes/wp-oxygen/images/gif/sidep-handle.gif b/themes/wp-oxygen/images/gif/sidep-handle.gif Binary files differnew file mode 100644 index 00000000..d47b9740 --- /dev/null +++ b/themes/wp-oxygen/images/gif/sidep-handle.gif diff --git a/themes/wp-oxygen/images/gif/sidep-toggle.gif b/themes/wp-oxygen/images/gif/sidep-toggle.gif Binary files differnew file mode 100644 index 00000000..36130b79 --- /dev/null +++ b/themes/wp-oxygen/images/gif/sidep-toggle.gif diff --git a/themes/wp-oxygen/images/html-bg.gif b/themes/wp-oxygen/images/html-bg.gif Binary files differnew file mode 100644 index 00000000..a23afb91 --- /dev/null +++ b/themes/wp-oxygen/images/html-bg.gif diff --git a/themes/wp-oxygen/images/main-bg.jpg b/themes/wp-oxygen/images/main-bg.jpg Binary files differnew file mode 100644 index 00000000..65a2c376 --- /dev/null +++ b/themes/wp-oxygen/images/main-bg.jpg diff --git a/themes/wp-oxygen/images/mini-add-comment.gif b/themes/wp-oxygen/images/mini-add-comment.gif Binary files differnew file mode 100644 index 00000000..e4757f93 --- /dev/null +++ b/themes/wp-oxygen/images/mini-add-comment.gif diff --git a/themes/wp-oxygen/images/mini-add-comment.png b/themes/wp-oxygen/images/mini-add-comment.png Binary files differnew file mode 100644 index 00000000..267255e1 --- /dev/null +++ b/themes/wp-oxygen/images/mini-add-comment.png diff --git a/themes/wp-oxygen/images/mini-archive.gif b/themes/wp-oxygen/images/mini-archive.gif Binary files differnew file mode 100644 index 00000000..cab75bfb --- /dev/null +++ b/themes/wp-oxygen/images/mini-archive.gif diff --git a/themes/wp-oxygen/images/mini-archive.png b/themes/wp-oxygen/images/mini-archive.png Binary files differnew file mode 100644 index 00000000..e21ecec1 --- /dev/null +++ b/themes/wp-oxygen/images/mini-archive.png diff --git a/themes/wp-oxygen/images/mini-blogroll.gif b/themes/wp-oxygen/images/mini-blogroll.gif Binary files differnew file mode 100644 index 00000000..088b939f --- /dev/null +++ b/themes/wp-oxygen/images/mini-blogroll.gif diff --git a/themes/wp-oxygen/images/mini-blogroll.png b/themes/wp-oxygen/images/mini-blogroll.png Binary files differnew file mode 100644 index 00000000..69a40686 --- /dev/null +++ b/themes/wp-oxygen/images/mini-blogroll.png diff --git a/themes/wp-oxygen/images/mini-category.gif b/themes/wp-oxygen/images/mini-category.gif Binary files differnew file mode 100644 index 00000000..a759d44a --- /dev/null +++ b/themes/wp-oxygen/images/mini-category.gif diff --git a/themes/wp-oxygen/images/mini-category.png b/themes/wp-oxygen/images/mini-category.png Binary files differnew file mode 100644 index 00000000..e4b5ba95 --- /dev/null +++ b/themes/wp-oxygen/images/mini-category.png diff --git a/themes/wp-oxygen/images/mini-check.gif b/themes/wp-oxygen/images/mini-check.gif Binary files differnew file mode 100644 index 00000000..701ae545 --- /dev/null +++ b/themes/wp-oxygen/images/mini-check.gif diff --git a/themes/wp-oxygen/images/mini-check.png b/themes/wp-oxygen/images/mini-check.png Binary files differnew file mode 100644 index 00000000..9fabc7b0 --- /dev/null +++ b/themes/wp-oxygen/images/mini-check.png diff --git a/themes/wp-oxygen/images/mini-comment.gif b/themes/wp-oxygen/images/mini-comment.gif Binary files differnew file mode 100644 index 00000000..e3fe4bcf --- /dev/null +++ b/themes/wp-oxygen/images/mini-comment.gif diff --git a/themes/wp-oxygen/images/mini-comment.png b/themes/wp-oxygen/images/mini-comment.png Binary files differnew file mode 100644 index 00000000..6f36e160 --- /dev/null +++ b/themes/wp-oxygen/images/mini-comment.png diff --git a/themes/wp-oxygen/images/mini-folder.gif b/themes/wp-oxygen/images/mini-folder.gif Binary files differnew file mode 100644 index 00000000..3169a670 --- /dev/null +++ b/themes/wp-oxygen/images/mini-folder.gif diff --git a/themes/wp-oxygen/images/mini-page.gif b/themes/wp-oxygen/images/mini-page.gif Binary files differnew file mode 100644 index 00000000..83732894 --- /dev/null +++ b/themes/wp-oxygen/images/mini-page.gif diff --git a/themes/wp-oxygen/images/mini-page.png b/themes/wp-oxygen/images/mini-page.png Binary files differnew file mode 100644 index 00000000..b8542936 --- /dev/null +++ b/themes/wp-oxygen/images/mini-page.png diff --git a/themes/wp-oxygen/images/mini-rss.gif b/themes/wp-oxygen/images/mini-rss.gif Binary files differnew file mode 100644 index 00000000..3481f3e7 --- /dev/null +++ b/themes/wp-oxygen/images/mini-rss.gif diff --git a/themes/wp-oxygen/images/mini-rss.png b/themes/wp-oxygen/images/mini-rss.png Binary files differnew file mode 100644 index 00000000..7d566108 --- /dev/null +++ b/themes/wp-oxygen/images/mini-rss.png diff --git a/themes/wp-oxygen/images/mini-tag.gif b/themes/wp-oxygen/images/mini-tag.gif Binary files differnew file mode 100644 index 00000000..69db6141 --- /dev/null +++ b/themes/wp-oxygen/images/mini-tag.gif diff --git a/themes/wp-oxygen/images/mini-tag.png b/themes/wp-oxygen/images/mini-tag.png Binary files differnew file mode 100644 index 00000000..0768148f --- /dev/null +++ b/themes/wp-oxygen/images/mini-tag.png diff --git a/themes/wp-oxygen/images/mini-user.gif b/themes/wp-oxygen/images/mini-user.gif Binary files differnew file mode 100644 index 00000000..d4e4c0ff --- /dev/null +++ b/themes/wp-oxygen/images/mini-user.gif diff --git a/themes/wp-oxygen/images/mini-user.png b/themes/wp-oxygen/images/mini-user.png Binary files differnew file mode 100644 index 00000000..3be859ed --- /dev/null +++ b/themes/wp-oxygen/images/mini-user.png diff --git a/themes/wp-oxygen/images/mini-wp.gif b/themes/wp-oxygen/images/mini-wp.gif Binary files differnew file mode 100644 index 00000000..b81ed50f --- /dev/null +++ b/themes/wp-oxygen/images/mini-wp.gif diff --git a/themes/wp-oxygen/images/mini-wp.png b/themes/wp-oxygen/images/mini-wp.png Binary files differnew file mode 100644 index 00000000..7534089a --- /dev/null +++ b/themes/wp-oxygen/images/mini-wp.png diff --git a/themes/wp-oxygen/images/nav-item-hover.gif b/themes/wp-oxygen/images/nav-item-hover.gif Binary files differnew file mode 100644 index 00000000..724b66e7 --- /dev/null +++ b/themes/wp-oxygen/images/nav-item-hover.gif diff --git a/themes/wp-oxygen/images/navigation-bg.gif b/themes/wp-oxygen/images/navigation-bg.gif Binary files differnew file mode 100644 index 00000000..87f009ee --- /dev/null +++ b/themes/wp-oxygen/images/navigation-bg.gif diff --git a/themes/wp-oxygen/images/navigation-left.gif b/themes/wp-oxygen/images/navigation-left.gif Binary files differnew file mode 100644 index 00000000..aac8d7c5 --- /dev/null +++ b/themes/wp-oxygen/images/navigation-left.gif diff --git a/themes/wp-oxygen/images/navigation-right.gif b/themes/wp-oxygen/images/navigation-right.gif Binary files differnew file mode 100644 index 00000000..16f528d2 --- /dev/null +++ b/themes/wp-oxygen/images/navigation-right.gif diff --git a/themes/wp-oxygen/images/post-nav-next.gif b/themes/wp-oxygen/images/post-nav-next.gif Binary files differnew file mode 100644 index 00000000..6a99bc7e --- /dev/null +++ b/themes/wp-oxygen/images/post-nav-next.gif diff --git a/themes/wp-oxygen/images/post-nav-previous.gif b/themes/wp-oxygen/images/post-nav-previous.gif Binary files differnew file mode 100644 index 00000000..10c2f7ea --- /dev/null +++ b/themes/wp-oxygen/images/post-nav-previous.gif diff --git a/themes/wp-oxygen/images/respond.gif b/themes/wp-oxygen/images/respond.gif Binary files differnew file mode 100644 index 00000000..18d15f21 --- /dev/null +++ b/themes/wp-oxygen/images/respond.gif diff --git a/themes/wp-oxygen/images/rss.png b/themes/wp-oxygen/images/rss.png Binary files differnew file mode 100644 index 00000000..7d566108 --- /dev/null +++ b/themes/wp-oxygen/images/rss.png diff --git a/themes/wp-oxygen/images/search-btn.png b/themes/wp-oxygen/images/search-btn.png Binary files differnew file mode 100644 index 00000000..c0ca1b18 --- /dev/null +++ b/themes/wp-oxygen/images/search-btn.png diff --git a/themes/wp-oxygen/images/searchform-bg.png b/themes/wp-oxygen/images/searchform-bg.png Binary files differnew file mode 100644 index 00000000..ffcac795 --- /dev/null +++ b/themes/wp-oxygen/images/searchform-bg.png diff --git a/themes/wp-oxygen/images/sidep-bottom.gif b/themes/wp-oxygen/images/sidep-bottom.gif Binary files differnew file mode 100644 index 00000000..35b4d1e2 --- /dev/null +++ b/themes/wp-oxygen/images/sidep-bottom.gif diff --git a/themes/wp-oxygen/images/sidep-bottom.png b/themes/wp-oxygen/images/sidep-bottom.png Binary files differnew file mode 100644 index 00000000..8a00fdae --- /dev/null +++ b/themes/wp-oxygen/images/sidep-bottom.png diff --git a/themes/wp-oxygen/images/sidep-handle.gif b/themes/wp-oxygen/images/sidep-handle.gif Binary files differnew file mode 100644 index 00000000..d47b9740 --- /dev/null +++ b/themes/wp-oxygen/images/sidep-handle.gif diff --git a/themes/wp-oxygen/images/sidep-handle.png b/themes/wp-oxygen/images/sidep-handle.png Binary files differnew file mode 100644 index 00000000..bd2ce82f --- /dev/null +++ b/themes/wp-oxygen/images/sidep-handle.png diff --git a/themes/wp-oxygen/images/sidep-toggle.gif b/themes/wp-oxygen/images/sidep-toggle.gif Binary files differnew file mode 100644 index 00000000..36130b79 --- /dev/null +++ b/themes/wp-oxygen/images/sidep-toggle.gif diff --git a/themes/wp-oxygen/images/sidep-toggle.png b/themes/wp-oxygen/images/sidep-toggle.png Binary files differnew file mode 100644 index 00000000..d367bd05 --- /dev/null +++ b/themes/wp-oxygen/images/sidep-toggle.png diff --git a/themes/wp-oxygen/images/submit-btn.gif b/themes/wp-oxygen/images/submit-btn.gif Binary files differnew file mode 100644 index 00000000..c91f9cad --- /dev/null +++ b/themes/wp-oxygen/images/submit-btn.gif diff --git a/themes/wp-oxygen/index.php b/themes/wp-oxygen/index.php new file mode 100644 index 00000000..418908f5 --- /dev/null +++ b/themes/wp-oxygen/index.php @@ -0,0 +1,45 @@ +<?php get_header(); ?>
+
+ <div id="content">
+
+ <?php if (have_posts()) : ?>
+
+ <?php while (have_posts()) : the_post(); ?>
+
+ <div class="post" id="post-<?php the_ID(); ?>">
+ <div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
+ <div class="title">
+ <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to', 'itheme')?> <?php the_title(); ?>"><?php the_title(); ?></a></h2>
+ <div class="postdata">
+ <span class="author"><?php the_author() ?> </span>
+ <span class="category"><?php the_category(',') ?> </span><br />
+ <span class="tags"><?php the_tags(' ', ', ', '<br />'); ?></span>
+ <span class="comments"><?php comments_popup_link(__('No Comments »', 'itheme'), __('1 Comment »', 'itheme'), __('% Comments »'), 'itheme'); ?></span><br />
+ <span class="left edit"><?php edit_post_link( __('Edit', 'itheme'), '', ''); ?></span>
+ </div>
+ </div>
+ <div class="entry">
+ <?php the_content( __('Continue reading »', 'itheme') ); ?>
+ </div><!--/entry -->
+ </div><!--/post -->
+
+ <?php endwhile; ?>
+
+ <div class="page-nav"> <span class="previous-entries"><?php next_posts_link( __('Previous Entries', 'itheme') ) ?></span> <span class="next-entries"><?php previous_posts_link( __('Next Entries', 'itheme') ) ?></span></div><!-- /page nav -->
+
+ <?php else : ?>
+
+ <h2><?php _e('Not Found', 'itheme')?></h2>
+ <p><?php _e("Sorry, but you are looking for something that isn't here.", 'itheme')?></p>
+
+ <?php endif; ?>
+
+ </div><!--/content -->
+
+ <?php footer_theme_info(); ?>
+
+ </div><!--/left-col -->
+
+<?php get_sidebar(); ?>
+
+<?php get_footer(); ?>
diff --git a/themes/wp-oxygen/page.php b/themes/wp-oxygen/page.php new file mode 100644 index 00000000..4d71bbc7 --- /dev/null +++ b/themes/wp-oxygen/page.php @@ -0,0 +1,33 @@ +<?php get_header(); ?>
+<div id="content">
+ <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+ <div class="post" id="post-<?php the_ID(); ?>">
+
+ <div class=title">
+ <h2><?php the_title(); ?></h2>
+ <div class="postdata">
+ <span class="author"><?php the_author() ?> </span>
+ <span class="right edit"><?php edit_post_link( __('Edit', 'itheme'), '', ''); ?></span>
+ </div>
+ </div>
+
+ <div class="entry">
+ <?php the_content( __('<p>Continue reading »</p>', 'itheme') ); ?>
+ <?php link_pages( __('<p><strong>Pages:</strong> ', 'itheme'), '</p>', 'number'); ?>
+ </div><!--/entry -->
+
+ </div><!--/post -->
+
+ <?php comments_template(); ?>
+
+ <?php endwhile; endif; ?>
+
+</div><!--/content -->
+
+<?php footer_theme_info(); ?>
+
+</div><!--/left-col -->
+
+<?php get_sidebar(); ?>
+
+<?php get_footer(); ?>
\ No newline at end of file diff --git a/themes/wp-oxygen/print.css b/themes/wp-oxygen/print.css new file mode 100644 index 00000000..bdd0ea64 --- /dev/null +++ b/themes/wp-oxygen/print.css @@ -0,0 +1,113 @@ +/*
+Theme Name: iTheme
+Theme URI: http://www.ndesign-studio.com
+Description: WordPress theme designed by <a href="http://www.ndesign-studio.com">N.Design Studio</a>.
+Version: 1.1
+Author: Nick La
+Author URI: http://www.ndesign-studio.com
+
+ This theme was designed and built by Nick La.
+
+ By downloading and using this theme, you agree to the following terms:
+ - You may NOT resell this theme
+ - A link back to N.Design Studio must be retained in the footer (either modified or unmodified)
+ - You may use this theme for personal or commercial projects
+ - You may modify, translate or distribute
+
+*/
+
+body {
+ background: #ffffff url(none);
+ font: 12px/16px Arial, Helvetica, sans-serif;
+ padding: 0 40px;
+ margin: 0px;
+ color: #000000;
+}
+#page {
+ background: none;
+}
+#wrapper {
+ width: 100%;
+ margin: 0px;
+}
+#header {
+ border-bottom: solid 1px #000000;
+ height: 100px;
+ margin-bottom: 15px;
+}
+
+h1 {
+ color: #000000;
+ margin: 0px;
+ left: 0;
+}
+h1 a, h1 a:visited {
+ color: #000000;
+ text-decoration: none;
+}
+h2 {
+ border: none;
+}
+.description {
+ left: 0;
+}
+
+#left-col {
+ width: 100%;
+}
+
+#content {
+ padding: 0;
+ background: #ffffff;
+ width: 100%;
+}
+.post {
+ padding: 0;
+ background: none;
+}
+.post .date {
+ height: auto;
+ width: 100%;
+ background: none;
+ font: normal 11px Arial, Helvetica, sans-serif;
+ color: #666666;
+ text-align: left;
+ padding: 0;
+ line-height: 100%;
+}
+.post .date span {
+ height: auto;
+ text-align: left;
+ padding: 0;
+ display: inline;
+}
+.post .title {
+ clear: both;
+ width: 100%;
+ margin: 0;
+}
+.postdata .category{
+ background: none;
+ padding: 0;
+ float: left;
+}
+.postdata .comments{
+ background: none;
+ padding: 0;
+ float: right;
+}
+
+h3#comments {
+ background: none;
+ padding-left: 0;
+ font: bold 14px/120% Arial, Helvetica, sans-serif;
+ clear: both;
+}
+
+.commentlist li, .commentlist .alt {
+ border: none !important;
+}
+
+#searchform, #nav, #subnav, .mini-add-comment, .page-nav, .post-nav, h3#respond, #commentform, #footer, #sidebar {
+ display: none !important;
+}
diff --git a/themes/wp-oxygen/screenshot.png b/themes/wp-oxygen/screenshot.png Binary files differnew file mode 100644 index 00000000..3413cab9 --- /dev/null +++ b/themes/wp-oxygen/screenshot.png diff --git a/themes/wp-oxygen/search.php b/themes/wp-oxygen/search.php new file mode 100644 index 00000000..4e9a0194 --- /dev/null +++ b/themes/wp-oxygen/search.php @@ -0,0 +1,39 @@ +<?php get_header(); ?>
+
+ <div id="content">
+
+ <?php if (have_posts()) : ?>
+
+ <?php while (have_posts()) : the_post(); ?>
+
+ <div class="post" id="post-<?php the_ID(); ?>">
+ <div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
+ <div class="title">
+ <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to', 'itheme')?> <?php the_title(); ?>"><?php the_title(); ?></a></h2>
+ <div class="postdata"><span class="category"><?php the_category(', ') ?></span> <span class="comments"><?php comments_popup_link( __('No Comments »', 'itheme'), __('1 Comment »', 'itheme'), __('% Comments »', 'itheme')); ?></span></div>
+ </div>
+ <div class="entry">
+ <?php the_excerpt(); ?>
+ </div><!--/entry -->
+ </div><!--/post -->
+
+ <?php endwhile; ?>
+
+ <div class="page-nav"> <span class="previous-entries"><?php next_posts_link(__('Previous Entries', 'itheme')) ?></span> <span class="next-entries"><?php previous_posts_link(__('Next Entries', 'itheme')) ?></span></div><!-- /page nav -->
+
+ <?php else : ?>
+
+ <h2><?php _e('Nothing Found', 'itheme')?></h2>
+ <p><?php _e('Please try another search.', 'itheme')?></p>
+
+ <?php endif; ?>
+
+ </div><!--/content -->
+
+ <div id="footer"><a href="http://www.ndesign-studio.com/resources/wp-themes/">WP Theme</a> & <a href="http://www.ndesign-studio.com/stock-icons/">Icons</a> <?php _e('by', 'itheme')?> <a href="http://www.ndesign-studio.com">N.Design Studio</a><br /><abbr title="<?php _e('Localization', 'itheme')?>">L10N</abbr> <?php _e('by', 'itheme')?> <a href="http://www.yukei.net" hreflang="es">yukei.net</a></div>
+
+ </div><!--/left-col -->
+
+<?php get_sidebar(); ?>
+
+<?php get_footer(); ?>
\ No newline at end of file diff --git a/themes/wp-oxygen/searchform.php b/themes/wp-oxygen/searchform.php new file mode 100644 index 00000000..c33f647c --- /dev/null +++ b/themes/wp-oxygen/searchform.php @@ -0,0 +1,5 @@ +<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/"> +<div><input type="text" value="<?php _e('Search', 'itheme')?>" name="s" id="s" onfocus="if (this.value == '<?php _e('Search', 'itheme')?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Search', 'itheme')?>';}" /> +<input type="submit" id="searchsubmit" value="<?php _e('Go', 'itheme')?>" /> +</div> +</form> diff --git a/themes/wp-oxygen/sidebar.php b/themes/wp-oxygen/sidebar.php new file mode 100644 index 00000000..032f0279 --- /dev/null +++ b/themes/wp-oxygen/sidebar.php @@ -0,0 +1,54 @@ +<div class="dbx-group" id="sidebar">
+
+ <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
+
+ <!--sidebox start -->
+ <div id="categories" class="dbx-box">
+ <h3 class="dbx-handle"><?php _e('Categories'); ?></h3>
+ <div class="dbx-content">
+ <ul>
+ <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
+ </ul>
+ </div>
+ </div>
+ <!--sidebox end -->
+
+ <!--sidebox start -->
+ <div id="archives" class="dbx-box">
+ <h3 class="dbx-handle"><?php _e('Archives'); ?></h3>
+ <div class="dbx-content">
+ <ul>
+ <?php wp_get_archives('type=monthly'); ?>
+ </ul>
+ </div>
+ </div>
+ <!--sidebox end -->
+
+ <!--sidebox start -->
+ <div id="links" class="dbx-box">
+ <h3 class="dbx-handle"><?php _e('Links'); ?></h3>
+ <div class="dbx-content">
+ <ul>
+ <?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'id', FALSE, FALSE, -1, FALSE); ?>
+ </ul>
+ </div>
+ </div>
+ <!--sidebox end -->
+
+ <!--sidebox start -->
+ <div id="meta" class="dbx-box">
+ <h3 class="dbx-handle"><?php _e('Meta', 'itheme')?></h3>
+ <div class="dbx-content">
+ <ul>
+ <li class="rss"><a href="<?php bloginfo('rss2_url'); ?>"><?php _e('Entries (RSS)', 'itheme')?></a></li>
+ <li class="rss"><a href="<?php bloginfo('comments_rss2_url'); ?>"><?php _e('Comments (RSS)', 'itheme')?></a></li>
+ <li class="wordpress"><a href="http://www.wordpress.org" title="<?php _e('Powered by WordPress', 'itheme')?>">WordPress</a></li>
+ <li class="login"><?php wp_loginout(); ?></li>
+ </ul>
+ </div>
+ </div>
+ <!--sidebox end -->
+
+ <?php endif; ?>
+
+</div><!--/sidebar -->
\ No newline at end of file diff --git a/themes/wp-oxygen/single.php b/themes/wp-oxygen/single.php new file mode 100644 index 00000000..b14342ec --- /dev/null +++ b/themes/wp-oxygen/single.php @@ -0,0 +1,49 @@ +<?php get_header(); ?>
+<div id="content">
+
+ <div class="post-nav">
+ <span class="previous">
+ <?php previous_post_link('%link') ?></span> <span class="next"><?php next_post_link('%link') ?>
+ </span>
+ </div>
+
+ <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+
+ <div class="post" id="post-<?php the_ID(); ?>">
+
+ <div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
+
+ <div class="title">
+ <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to', 'itheme')?> <?php the_title(); ?>"><?php the_title(); ?></a></h2>
+ <div class="postdata">
+ <span class="author"><?php the_author() ?> </span>
+ <span class="category"><?php the_category(',') ?> </span><br />
+ <span class="tags"><?php the_tags(' ', ', ', '<br />'); ?></span>
+ <span class="mini-add-comment"><a href="#respond"><?php _e('Add comments', 'itheme')?></a></span> <br />
+ <span class="left edit"><?php edit_post_link( __('Edit', 'itheme'), '', ''); ?></span>
+ </div>
+ </div>
+
+ <div class="entry">
+ <?php the_content( __('Continue reading »', 'itheme') ); ?>
+ <?php link_pages( __('<p><strong>Pages:</strong> ', 'itheme'), '</p>', 'number'); ?>
+ </div><!--/entry -->
+
+ <?php comments_template(); ?>
+
+ <?php endwhile; else: ?>
+ <p><?php _e('Sorry, no posts matched your criteria.', 'itheme')?></p>
+ <?php endif; ?>
+
+ </div><!--/post -->
+
+</div><!--/content -->
+
+<?php footer_theme_info(); ?>
+
+</div><!--/left-col -->
+
+<?php get_sidebar(); ?>
+
+<?php get_footer(); ?>
+
diff --git a/themes/wp-oxygen/style.css b/themes/wp-oxygen/style.css new file mode 100644 index 00000000..0a1908b0 --- /dev/null +++ b/themes/wp-oxygen/style.css @@ -0,0 +1,611 @@ +/* +Theme Name: Oxygen Wordpress Theme +Theme URI: http://www.gskbyte.net/oxygenwptheme +Description: WordPress theme modified by <a href="http://www.gskbyte.net">gskbyte</a>. Original theme was iTheme, by <a href="http://www.ndesign-studio.com">N.Design Studio</a>. Oxygen wallpaper, skin and icons by the <a href="http://www.oxygen-icons.org">Oxygen Team</a>. +Version: 0.7 +Author: gskbyte +Author URI: http://www.gskbyte.net/oxygenwptheme + + Theme modified by gskbyte, originally designed and built by Nick La. + + By downloading and using this theme, you agree to the following terms: + - You may NOT resell this theme + - A link back to N.Design Studio and gskbyte.net must be retained in the footer (either modified or unmodified) + - You may use this theme for personal or commercial projects + - You may modify, translate or distribute + - All the original content (such as SVGs) you modify must be freely available, following the <a href="http://www.fsf.org">GPL</a> or CC terms. +*/ + +body { + background: #1a4680 url(images/main-bg.jpg) repeat-x; /* 094f10 green */ + background-attachment: fixed; + font: 75%/170% sans-serif; + padding: 0px; + margin: 0px; + color: #111111; /* 333333 */ + height: 100%; +} +a { + color: #224589; /* 44a1d0 */ + text-decoration: none; +} +a:visited { + color: #187221; /* 5EAFD7, 4D32C7 */ +} +a:hover { + text-decoration: underline; +} +p { + margin: 0px 0px 15px; +} +img { + border: none; +} +ul { + margin: 5px 0px 15px; + padding-left: 20px; +} +ul li { + margin: 0px; +} +ol { + margin: 5px 0px 15px; + padding-left: 20px; +} +ul li { + margin: 0px; +} +form { + margin: 0px; + padding: 0px; +} +small { + font-size: 90%; +} +#page { + background: url(images/main-bg.jpg); /*no-repeat center top*/ + background-attachment: fixed; + height: 100%; +} +#wrapper { + width: 770px; + margin: 0px auto; + position: relative; +} + +/* ------------------------------------- header area */ +#header { + height: 100px; +} +/* site title */ +h1 { + position: absolute; + top: 20px; + left: 25px; + color: #FFFFFF; + margin: 0px; + padding: 0px; + font: normal 40px/100% sans-serif; /*modif.: 55*/ +} +h1 a, h1 a:visited { + color: #FFFFFF; + text-decoration: none; +} +h1 a:hover { + color: #187221; + text-decoration: none; +} +.description { + position: absolute; + top: 75px; /* 65 */ + left: 40px; + color: #999999; /* 000000, 888888 */ + font: 12px sans-serif; +} +/* search form */ +#searchform { + position: absolute; + top: 20px; + right: 0px; + background: url(images/searchform-bg.png) no-repeat right bottom; + height: 55px; + width: 210px; +} +#searchform #s{ + background: #111111 ; + height: 16px; + width: 148px; + margin: 6px 5px 0px 10px; + padding: 3px 7px 2px 5px; + color: #999999; + border: none; +} +#searchform #searchsubmit { + background: url(images/search-btn.png) no-repeat left top; + height: 24px; + width: 24px; + border: none; + text-indent: -999%; + line-height: 1px; + margin-top: 12px; +} + +/* ------------------------------------- main content area */ +#left-col { + width: 545px; + float: left; + margin-top: 11px; +} +/* main menu */ +#nav { + background: url(images/content-top-bg.png) no-repeat left top; + height: 26px; +} +#nav ul{ + list-style: none; + margin: 0px 0px 0px 25px; + padding: 0px; + font: bold 12px/100% sans-serif; +} +#nav ul li{ + margin: 0px 1px 0px 0px; + padding: 0px; + float: left; +} +#nav ul li a{ + padding: 5px 7px 6px 7px; + text-decoration: none; + color: #000000; + display: block; +} +#nav li a:visited{ + /*text-decoration: none; + color: #000000;*/ +} +#nav li a:hover{ + text-decoration: none; + /*background: url(images/nav-item-hover.gif) repeat-x;*/ + color: #187221; /* ffffff */ +} +#nav .current_page_item a{ + text-decoration: none; + /*background: url(images/nav-item-hover.gif) repeat-x;*/ + color: #187221; /* ffffff */ +} +#nav .current_page_item_left a{ + background: url(images/nav-item-hover.gif); +} + +/* sub menu */ +#subnav { + background: url(images/content-bg.png) repeat-y top; +} +#subnav ul { + margin: 0px; + padding: 3px 0px 18px 5px; + list-style: none; + font: 11px/100% sans-serif; +} +#subnav li { + border-right: 1px solid #D8D8D8; + padding: 0px 7px; + margin: 0px; + float: left; +} +#subnav li a, #subnav li a:visited, #subnav .page_item { + text-decoration: none; + color: #333333; +} +#subnav .current_page_item a, #subnav .current_page_item a:visited { + color: #3b9acc; +} +#subnav li a:hover { + text-decoration: none; + color: #3b9acc; +} + +/* content */ +#content { + padding: 25px 25px 15px 25px; + width: 495px; + /* The background! */ + background: url(images/content-bg.png) repeat-y top; + clear: both; + overflow: hidden; +} +.post { + padding: 0px; + clear: both; + overflow: hidden; +} +.post .date { + height: 50px; + width: 45px; + background: url(images/calendar.png) no-repeat; + font: normal 22px sans-serif; + color: #666666; + text-align: center; + padding: 0px 2px 0 0; + line-height: 100%; + float: left; +} +.post .date span { + height: 16px; + display: block; + font: normal 11px sans-serif; + color: #ffffff; + text-align: center; + padding-top: 5px; +} +.post .title { + float: left; + margin-left: 10px; + width: 438px; +} + +.postdata { + font-size: 90%; + color: #444444; /* 999999 */ +} +.postdata a, .postdata a:visited { + color: #333333; + text-decoration: none; +} +.postdata a:hover { + color: #44a1d0; + text-decoration: none; +} + +.postdata .author{ + background: url(images/mini-user.gif) no-repeat; + padding-left: 18px; + float: left; + white-space: pre; /*small hack to separate author and categories */ +} + +.postdata .category{ + background: url(images/mini-category.gif) no-repeat; + padding-left: 18px; + float: left; + white-space: pre; +} + +.postdata .tags{ + background: url(images/mini-tag.gif) no-repeat; + padding-left: 15px; + float: left; + white-space: pre; +} + +.postdata .edit{ + /* This is ugly with IE 6. FUCK IE. Check ie-gif.css to see the fix. */ + background: url(images/edit.png) no-repeat left center; + padding-left: 18px; + float: right; +} + +.postdata .page-edit{ + background: url(images/edit.png) no-repeat left center; + padding-left: 18px; + float: right; +} + + +.postdata .comments{ + background: url(images/mini-comment.png) no-repeat; + padding-left: 18px; + float: left; + white-space: pre; +} +.mini-add-comment { + background: url(images/mini-add-comment.png) no-repeat left center; + padding-left: 20px; + float: left; +} +.entry { + padding: 10px 0px 5px; + clear: both; +} + +/* post title */ +h2 { + color: #094F10; /* 333333 */ + margin: 3px 0 2px; + padding-bottom: 4px; + font: normal 150%/100% sans-serif; + border-bottom: dotted 1px #CCCCCC; +} +h2 a, h2 a:visited { + color: #094F10; + text-decoration: none; +} +h2 a:hover { + color: #224589; + text-decoration: none; +} +h3 { + color: #666666; + margin: 5px 0px 5px; + font: bold 110%/110% sans-serif; +} + +/* next & previous page navigation */ +.page-nav { + clear: both; + background: url(images/navigation-bg.gif) no-repeat left center; + height: 21px; +} +.page-nav a, .page-nav a:visited { + color: #ffffff; + text-decoration: none; +} +.page-nav a:hover { + color: #000000; + text-decoration: none; +} +.previous-entries a { + float: left; + padding-left: 10px; + margin-left: 10px; + background: url(images/navigation-left.gif) no-repeat left center; +} +.next-entries a { + float: right; + padding-right: 10px; + margin-right: 10px; + background: url(images/navigation-right.gif) no-repeat right center; +} + +/* next & previous post navigation */ +.post-nav { + clear: both; + padding-bottom: 35px; + margin-top: -15px; + font-size: 95%; +} +.post-nav a, .post-nav a:visited { + color: #999999; + text-decoration: none; +} +.post-nav a:hover { + color: #000000; + text-decoration: none; +} +.post-nav .previous a { + float: left; + padding-left: 20px; + background: url(images/post-nav-previous.gif) no-repeat left center; +} +.post-nav .next a { + float: right; + padding-right: 20px; + text-align: right; + background: url(images/post-nav-next.gif) no-repeat right center; +} + +/* ------------------------------------- comment area */ +h3#comments { + background: url(images/comments.png) no-repeat; + padding-left: 22px; + font: normal 140%/120% sans-serif; + clear: both; +} +h3#respond { + background: url(images/respond.gif) no-repeat; + padding-left: 22px; + font: normal 140%/120% sans-serif; + margin: 20px 0px 0px; + clear: both; +} +/* commentform */ +#commentform { + margin-top: 10px; +} +#commentform label { + font-weight: bold; + color:#666; + font-size: 100%; + padding-left: 5px; +} +#commentform small { + color: #999999; + font-size: 90%; +} +#commentform input { + font: 110% sans-serif; + width: 220px; + padding: 5px 3px 3px 7px; + background: url(images/form-field-bg.gif) no-repeat; + border-top: 1px solid #e6e6e6; + border-right: 1px solid #E2E2E2; + border-bottom: 1px solid #E2E2E2; + border-left: 1px solid #e6e6e6; +} +#commentform textarea { + font: 110% sans-serif; + width: 480px; + height: 140px; + background:url(images/form-field-bg.gif) no-repeat; + border: solid 1px #e6e6e6; + padding: 5px 3px 3px 7px; +} +#commentform #submit { + font: 12px/100% sans-serif; + color: #000000; + background: url(images/submit-btn.gif) no-repeat top left; + border: none; + width: 135px; + height: 25px; + padding-bottom: 12px; + margin-left: 355px; +} +#commentform #submit:hover { + background: url(images/submit-btn.gif) no-repeat bottom left; +} +#commentform textarea:focus, #commentform input[type="text"]:focus { + border: solid 1px #2c770b; +} + +/* comment list */ +.commentlist { + margin: 10px 0px; + padding-left: 45px; + line-height: 130%; +} +.commentlist li{ + padding: 5px 10px; +} +.commentlist .alt { + background: #F4F4F4; +} +.commentlist cite { + font-weight: bold; + font-style: normal; + font-size: 110%; + color: #669900; +} +.commentlist cite a, .commentlist cite a:visited { + color: #669900; +} +.commentlist small { + margin-bottom: 5px; + display: block; + font-size: 87%; +} +.commentlist small a, .commentlist small a:visited{ + color: #999999; +} + +/* ------------------------------------- footer area */ +#footer { + background: url(images/content-bottom-bg.png) no-repeat; + padding: 10px 0px 0px 10px; + font-size: 87%; + color: #000000; /* 282828 */ +} +#footer a, #footer a:visited { + text-decoration: underline; + color: #000000; +} + +/* ------------------------------------- sidebar area */ +/* sidebar */ +#sidebar { + float:right; + width: 210px; + color: #333333; /* 666666 */ + line-height: 160%; +} +#sidebar p { + margin: 0px 0px 15px; +} +#sidebar h3 { + font: bold 12px/100% sans-serif; + color: #222222; /* 666666 */ +} +#sidebar h3 a, #sidebar h3 a:visited { + color: #222222; /* 666666 */ +} +#sidebar h3 img { + vertical-align: middle; +} +#sidebar a, #sidebar a:visited { + color: #000000; + text-decoration:none; +} +#sidebar a:hover, #sidebar a:focus, #sidebar a:active { + text-decoration:underline; +} +#sidebar ul { + list-style: none; + margin: 0 ; + padding: 0 ; +} +#sidebar ul li { + background: url(images/bullet-green.gif) no-repeat; + padding-left: 18px ; +} +#sidebar ul li ul li { + background: url(images/bullet-grey.gif) no-repeat; + padding-left: 12px ; +} + +/* ------------------------------------- widget styles */ +/* archives widget */ +#archives ul li { + background: url(images/mini-archive.gif) no-repeat; +} +/* recent comments widget */ +#recent-comments ul li { + background: url(images/mini-comment.png) no-repeat; +} +/* category widget */ +#categories ul li { + background: url(images/mini-category.gif) no-repeat; +} +/* recent posts widget */ +#recent-posts ul li { + background: url(images/mini-page.gif) no-repeat; +} +/* links widget */ +#links ul li { + background: url(images/mini-blogroll.png) no-repeat; + padding-left: 25px; +} +/* meta */ +#meta .rss { + background: url(images/mini-rss.gif) no-repeat; +} +#meta .login { + background: url(images/mini-user.gif) no-repeat; +} +#meta .check { + background: url(images/mini-check.gif) no-repeat; +} +#meta .wordpress { + background: url(images/mini-wp.gif) no-repeat; +} +/* calendar */ +#calendar table { + margin: 0px auto; +} +#calendar td { + padding: 0px 4px; +} + +/* alignments */ +.center { + text-align: center; +} +img.center, img[align="center"] { + display: block; + margin-left: auto; + margin-right: auto; +} +.left { + float: left; +} +img.left, img[align="left"] { + float:left; + margin: 2px 10px 5px 0px; +} +.right { + float: right; +} +img.right, img[align="right"] { + float:right; + margin: 2px 0px 5px 10px; +} +.clear { + clear:both; +} +hr.clear { + clear:both; + visibility: hidden; + margin: 0px; + padding: 0px; +} +.hidden { + clear: both; + visibility: hidden; +} |