From 3e3c070b31df956daf7dbe47a510733b22d2ceef Mon Sep 17 00:00:00 2001
From: Christian Weiske
Date: Mon, 23 May 2011 18:10:51 +0200
Subject: [PATCH] move image and css files to theme folder
---
data/templates/default/bookmarks.tpl.php | 10 +++++-----
data/templates/default/top.inc.php | 4 ++--
www/jsScuttle.php | 4 ++--
www/{ => themes/default}/icon.png | Bin
www/{ => themes/default}/images/b_edit.png | Bin
www/{ => themes/default}/images/bg_admin.png | Bin
www/{ => themes/default}/images/bg_bar.png | Bin
www/{ => themes/default}/images/bg_header.png | Bin
www/{ => themes/default}/images/bg_sidebar.png | Bin
www/{ => themes/default}/images/loading.gif | Bin
www/{ => themes/default}/images/logo.png | Bin
www/{ => themes/default}/images/logo_24.gif | Bin
www/{ => themes/default}/images/rss.gif | Bin
www/{ => themes/default}/images/thumbs_up.orig.png | Bin
.../default}/images/vote-against-voted.png | Bin
www/{ => themes/default}/images/vote-against.png | Bin
www/{ => themes/default}/images/vote-for-voted.png | Bin
www/{ => themes/default}/images/vote-for.png | Bin
www/{ => themes/default}/scuttle.css | 0
19 files changed, 9 insertions(+), 9 deletions(-)
rename www/{ => themes/default}/icon.png (100%)
rename www/{ => themes/default}/images/b_edit.png (100%)
rename www/{ => themes/default}/images/bg_admin.png (100%)
rename www/{ => themes/default}/images/bg_bar.png (100%)
rename www/{ => themes/default}/images/bg_header.png (100%)
rename www/{ => themes/default}/images/bg_sidebar.png (100%)
rename www/{ => themes/default}/images/loading.gif (100%)
rename www/{ => themes/default}/images/logo.png (100%)
rename www/{ => themes/default}/images/logo_24.gif (100%)
rename www/{ => themes/default}/images/rss.gif (100%)
rename www/{ => themes/default}/images/thumbs_up.orig.png (100%)
rename www/{ => themes/default}/images/vote-against-voted.png (100%)
rename www/{ => themes/default}/images/vote-against.png (100%)
rename www/{ => themes/default}/images/vote-for-voted.png (100%)
rename www/{ => themes/default}/images/vote-for.png (100%)
rename www/{ => themes/default}/scuttle.css (100%)
diff --git a/data/templates/default/bookmarks.tpl.php b/data/templates/default/bookmarks.tpl.php
index 55d6a0f..93bcf53 100644
--- a/data/templates/default/bookmarks.tpl.php
+++ b/data/templates/default/bookmarks.tpl.php
@@ -39,7 +39,7 @@ include('search.menu.php');
isAdmin($userid) && $pageName != PAGE_WATCHLIST) : ?>
@@ -70,7 +70,7 @@ if ($userservice->isLoggedOn()) {
) {
echo ' ';
echo !is_array($cDescription) || strlen($cDescription['cdDescription'])==0?T_('Edit the common description of this tag'):'';
- echo ' ';
+ echo ' ';
} else if (isset($hash)) {
echo ' (';
echo T_('Edit the common description of this bookmark').')';
@@ -95,7 +95,7 @@ if($userservice->isLoggedOn()) {
if($currenttag!= '') {
echo ' ';
echo strlen($pDescription['tDescription'])==0?T_('Edit your personal description of this tag'):'';
- echo ' ';
+ echo ' ';
}
}
?>
@@ -221,7 +221,7 @@ if ($currenttag!= '') {
for ($i = 0; $i < $size; $i++) {
$brss = ''
- . ''
+ . ''
. '';
}
@@ -363,7 +363,7 @@ if ($currenttag!= '') {
// Admin specific design
if ($userservice->isAdmin($row['username']) && $GLOBALS['enableAdminColors']) {
$adminBgClass = ' class="adminBackground"';
- $adminStar = ' ';
+ $adminStar = ' ';
} else {
$adminBgClass = '';
$adminStar = '';
diff --git a/data/templates/default/top.inc.php b/data/templates/default/top.inc.php
index bdd4b1a..6ad2df2 100644
--- a/data/templates/default/top.inc.php
+++ b/data/templates/default/top.inc.php
@@ -4,8 +4,8 @@
-
-
+
+
images/loading.gif)';
+ usernameField.style.backgroundImage = 'url(/images/loading.gif)';
if (response != '') {
usernameField.style.backgroundImage = 'none';
if (response == 'true') {
@@ -92,7 +92,7 @@ function useAddress(ele) {
function getTitle(input, response){
var title = document.getElementById('titleField');
if (title.value == '') {
- title.style.backgroundImage = 'url(images/loading.gif)';
+ title.style.backgroundImage = 'url(/images/loading.gif)';
if (response != null) {
title.style.backgroundImage = 'none';
title.value = response;
diff --git a/www/icon.png b/www/themes/default/icon.png
similarity index 100%
rename from www/icon.png
rename to www/themes/default/icon.png
diff --git a/www/images/b_edit.png b/www/themes/default/images/b_edit.png
similarity index 100%
rename from www/images/b_edit.png
rename to www/themes/default/images/b_edit.png
diff --git a/www/images/bg_admin.png b/www/themes/default/images/bg_admin.png
similarity index 100%
rename from www/images/bg_admin.png
rename to www/themes/default/images/bg_admin.png
diff --git a/www/images/bg_bar.png b/www/themes/default/images/bg_bar.png
similarity index 100%
rename from www/images/bg_bar.png
rename to www/themes/default/images/bg_bar.png
diff --git a/www/images/bg_header.png b/www/themes/default/images/bg_header.png
similarity index 100%
rename from www/images/bg_header.png
rename to www/themes/default/images/bg_header.png
diff --git a/www/images/bg_sidebar.png b/www/themes/default/images/bg_sidebar.png
similarity index 100%
rename from www/images/bg_sidebar.png
rename to www/themes/default/images/bg_sidebar.png
diff --git a/www/images/loading.gif b/www/themes/default/images/loading.gif
similarity index 100%
rename from www/images/loading.gif
rename to www/themes/default/images/loading.gif
diff --git a/www/images/logo.png b/www/themes/default/images/logo.png
similarity index 100%
rename from www/images/logo.png
rename to www/themes/default/images/logo.png
diff --git a/www/images/logo_24.gif b/www/themes/default/images/logo_24.gif
similarity index 100%
rename from www/images/logo_24.gif
rename to www/themes/default/images/logo_24.gif
diff --git a/www/images/rss.gif b/www/themes/default/images/rss.gif
similarity index 100%
rename from www/images/rss.gif
rename to www/themes/default/images/rss.gif
diff --git a/www/images/thumbs_up.orig.png b/www/themes/default/images/thumbs_up.orig.png
similarity index 100%
rename from www/images/thumbs_up.orig.png
rename to www/themes/default/images/thumbs_up.orig.png
diff --git a/www/images/vote-against-voted.png b/www/themes/default/images/vote-against-voted.png
similarity index 100%
rename from www/images/vote-against-voted.png
rename to www/themes/default/images/vote-against-voted.png
diff --git a/www/images/vote-against.png b/www/themes/default/images/vote-against.png
similarity index 100%
rename from www/images/vote-against.png
rename to www/themes/default/images/vote-against.png
diff --git a/www/images/vote-for-voted.png b/www/themes/default/images/vote-for-voted.png
similarity index 100%
rename from www/images/vote-for-voted.png
rename to www/themes/default/images/vote-for-voted.png
diff --git a/www/images/vote-for.png b/www/themes/default/images/vote-for.png
similarity index 100%
rename from www/images/vote-for.png
rename to www/themes/default/images/vote-for.png
diff --git a/www/scuttle.css b/www/themes/default/scuttle.css
similarity index 100%
rename from www/scuttle.css
rename to www/themes/default/scuttle.css