summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-11-27 10:11:20 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-11-27 10:11:20 -0500
commitb9230a6e91d1d4b14dce52bed71bc0a360a8f5d4 (patch)
tree87983a20708360c3c257975951acbb1d949b7825
parentd382b04ad907041be4dd97dd50b8b12abe68eb53 (diff)
downloadfourisland-b9230a6e91d1d4b14dce52bed71bc0a360a8f5d4.tar.gz
fourisland-b9230a6e91d1d4b14dce52bed71bc0a360a8f5d4.tar.bz2
fourisland-b9230a6e91d1d4b14dce52bed71bc0a360a8f5d4.zip
Removed unnesscary Quotes CSS
-rwxr-xr-xtheme/css.php3
-rw-r--r--theme/css/night.css4
-rwxr-xr-xtheme/css/quotes.css174
-rwxr-xr-xtheme/quotes/add.tpl27
-rwxr-xr-xtheme/quotes/add_news.tpl8
-rwxr-xr-xtheme/quotes/browse.tpl36
-rwxr-xr-xtheme/quotes/home.tpl10
-rwxr-xr-xtheme/quotes/pagenumbers.tpl4
-rwxr-xr-xtheme/quotes/search.tpl34
9 files changed, 49 insertions, 251 deletions
diff --git a/theme/css.php b/theme/css.php index f7236eb..bc198f5 100755 --- a/theme/css.php +++ b/theme/css.php
@@ -49,9 +49,6 @@ if ($_GET['cat'] == 'home')
49} else if ($_GET['cat'] == 'panel') 49} else if ($_GET['cat'] == 'panel')
50{ 50{
51 include('css/blog.php'); 51 include('css/blog.php');
52} else if ($_GET['cat'] == 'quotes')
53{
54 include('css/quotes.css');
55} 52}
56 53
57?> 54?>
diff --git a/theme/css/night.css b/theme/css/night.css index e46d200..6502714 100644 --- a/theme/css/night.css +++ b/theme/css/night.css
@@ -10,3 +10,7 @@ body div#banner {
10body div#top-fade { 10body div#top-fade {
11 background-image: url(/theme/images/top_fade_night.png) !important; 11 background-image: url(/theme/images/top_fade_night.png) !important;
12} 12}
13
14body div.bubble cite {
15 color: yellow;
16}
diff --git a/theme/css/quotes.css b/theme/css/quotes.css deleted file mode 100755 index fd82c79..0000000 --- a/theme/css/quotes.css +++ /dev/null
@@ -1,174 +0,0 @@
1/* site-wide */
2div#site_all{
3 font-family: serif;
4 font-size: 12pt;
5 margin-left: 9%;
6 margin-right: 9%;
7}
8a#site_nav_admin{
9 color: #c08000;
10}
11a#site_nav_logout{
12 color: #000000;
13}
14a#site_admin_flag, a#site_admin_queue{
15 color: #336699;
16}
17
18
19/* quote-output styles */
20
21div.quote_quote{
22 padding-bottom: 5pt;
23}
24div.quote_whole{
25 padding-top: 10pt;
26}
27
28/* searchpage */
29input#search_submit-button{
30 background-color: #c08000;
31}
32input#search_query-box{
33 background-color: #f0f0f0;
34}
35select#search_sortby-dropdown{
36 background-color: #f0f0f0;
37}
38select#search_limit-dropdown{
39 background-color: #f0f0f0;
40}
41
42
43/* home_*: styles for the default homepage */
44
45div.home_news_date{
46 font-weight: bold;
47}
48div#home_greeting{
49 float: left;
50 width: 50%;
51}
52div#home_news{
53 width: 100%;
54}
55
56
57/* *admin*: used on administration pages and admin-only content */
58
59div#site_admin_nav{
60 position: relative;
61 margin-top: 90pt;
62 clear: both;
63 margin-top: -.1pt;
64}
65div#site_admin_nav_upper_linkbar{
66 background-color: #f0f0f0;
67}
68div#site_admin_nav_lower_infobar{
69 background-color: #c08000;
70 text-align: right;
71}
72html>body div#site_admin_nav{ /* hack for firefox, disabled in opera and ie */
73 margin-top: 0pt;
74}
75.admin_queue_alt1{
76 background-color: #ffffff;
77}
78.admin_queue_alt2{
79 background-color: #f0f0f0;
80}
81input#admin_login_username-box{
82 background-color: #f0f0f0;
83}
84input#admin_login_password-box{
85 background-color: #f0f0f0;
86}
87input#admin_login_submit-button{
88 background-color: #c08000;
89}
90
91
92/* site_nav_*: navigation on the top, for everyone */
93
94div#site_nav_lower{
95 background-color: #f0f0f0;
96}
97div#site_nav_lower_linkbar{
98 clear: both;
99 text-align: right;
100}
101div#site_nav_upper{
102 background-color: #c08000;
103 padding: 3px;
104}
105div#site_nav_upper_qms{
106 position: relative;
107 z-index: 1;
108 float: left;
109 font-size: 14pt;
110 font-weight: bold;
111 font-style: italic;
112}
113div#site_nav_upper_qms-long{
114 position: relative;
115 z-index: 1;
116 float: right;
117 font-weight: bold;
118 font-size: 15pt;
119}
120div#site_nav{
121 position: relative;
122 z-index: 0;
123}
124
125
126/* user-based functions */
127div#add_outputmsg_quote{
128 padding-top: 10pt;
129 font-family: monospace;
130 padding-bottom: 10pt;
131}
132
133
134/* page titles */
135div#quote_origin-name{
136 font-size: 23.6pt;
137 font-weight: bold;
138}
139div#search_title{
140 font-size: 23.6pt;
141 font-weight: bold;
142}
143div#admin_add-news_title{
144 font-size: 23.6pt;
145 font-weight: bold;
146}
147div#add_title{
148 font-size: 23.6pt;
149 font-weight: bold;
150}
151div#admin_queue_title{
152 font-size: 23.6pt;
153 font-weight: bold;
154}
155div#admin_flag_title{
156 font-size: 23.6pt;
157 font-weight: bold;
158}
159div#admin_change-pw_title{
160 font-size: 23.6pt;
161 font-weight: bold;
162}
163div#admin_users_title{
164 font-size: 23.6pt;
165 font-weight: bold;
166}
167div#admin_add-user_title{
168 font-size: 23.6pt;
169 font-weight: bold;
170}
171
172div.quote_pagenums{
173 text-align: center;
174}
diff --git a/theme/quotes/add.tpl b/theme/quotes/add.tpl index 4073277..dc872ee 100755 --- a/theme/quotes/add.tpl +++ b/theme/quotes/add.tpl
@@ -1,17 +1,14 @@
1<DIV ID="add_all"> 1<H1>Contribute</H1>
2 <DIV ID="add_title">Contribute</DIV>
3 2
4 <!--BEGIN SUBMITTED--> 3<!--BEGIN SUBMITTED-->
5 <DIV ID="add_outputmsg"> 4 <P>The quote you have submitted is:</P>
6 <DIV ID="add_outputmsg_top">The quote you have submitted is:</DIV> 5 <P><CODE><!--SUBMITTED.QUOTE--></CODE></P>
7 <DIV ID="add_outputmsg_quote"><!--SUBMITTED.QUOTE--></DIV> 6 <P>If this is not the quote you have entered, please contact the administrator and explain your problem.
8 <DIV ID="add_outputmsg_bottom">If this is not the quote you have entered, please contact the administrator and explain your problem. Also, there is no need to press the submit button again. You're quote has already been sent.</DIV> 7 Also, there is no need to press the submit button again. You're quote has already been sent.</P>
9 </DIV> 8<!--END SUBMITTED-->
10 <!--END SUBMITTED-->
11 9
12 <FORM ACTION="/quotes/add.php?submit=" METHOD="POST"> 10<FORM ACTION="/quotes/add.php?submit=" METHOD="POST">
13 <TEXTAREA COLS="80" ROWS="5" NAME="rash_quote" ID="add_quote"></TEXTAREA><BR> 11 <TEXTAREA COLS="80" ROWS="5" NAME="rash_quote"></TEXTAREA><BR>
14 <INPUT TYPE="submit" VALUE="Add Quote!" ID="add_submit"> 12 <INPUT TYPE="submit" VALUE="Add Quote!">
15 <INPUT TYPE="reset" VALUE="Reset" ID="add_reset"> 13 <INPUT TYPE="reset" VALUE="Reset">
16 </FORM> 14</FORM>
17</DIV>
diff --git a/theme/quotes/add_news.tpl b/theme/quotes/add_news.tpl deleted file mode 100755 index 3c81474..0000000 --- a/theme/quotes/add_news.tpl +++ /dev/null
@@ -1,8 +0,0 @@
1<DIV ID="admin_add-news_all">
2 <DIV ID="admin_add-news_title">Add News</DIV>
3
4 <FORM METHOD="POST" ACTION="/quotes/add_news.php?submit=">
5 <TEXTAREA COLS="80" ROWS="5" NAME="news" ID="add_news_news"></TEXTAREA><BR>
6 <INPUT TYPE="submit" VALUE="Add News" ID="add_news">
7 </FORM>
8</DIV>
diff --git a/theme/quotes/browse.tpl b/theme/quotes/browse.tpl index d35abfe..7b4312a 100755 --- a/theme/quotes/browse.tpl +++ b/theme/quotes/browse.tpl
@@ -1,25 +1,19 @@
1<DIV ID="quote_all"> 1<!--BEGIN PAGENUMBERS-->
2 <!--BEGIN PAGENUMBERS--> 2<!--INCLUDE quotes/pagenumbers-->
3 <!--INCLUDE quotes/pagenumbers--> 3<!--END PAGENUMBERS-->
4 <!--END PAGENUMBERS-->
5 4
6 <DIV ID="quote_origin-name"><!--ORIGIN--></DIV> 5<P><!--ORIGIN--></P>
7 6
8 <!--BEGIN QUOTES--> 7<!--BEGIN QUOTES-->
9 <DIV CLASS="quotes_whole"> 8<A HREF="/quotes/<!--QUOTES.NUMBER-->.php">#<!--QUOTES.NUMBER--></A>
10 <DIV CLASS="quote_option-bar"> 9<A HREF="/quotes/vote.php?id=<!--QUOTES.NUMBER-->&dir=plus">+</A>
11 <A HREF="/quotes/<!--QUOTES.NUMBER-->.php" CLASS="quote_number">#<!--QUOTES.NUMBER--></A> 10<SPAN>(<!--QUOTES.RATING-->)</SPAN>
12 <A HREF="/quotes/vote.php?id=<!--QUOTES.NUMBER-->&dir=plus" CLASS="quote_plus">+</A> 11<A HREF="/quotes/vote.php?id=<!--QUOTES.NUMBER-->&dir=minus">-</A>
13 <SPAN CLASS="quote_rating">(<!--QUOTES.RATING-->)</SPAN> 12<A HREF="/quotes/flag.php?id=<!--QUOTES.NUMBER-->">[X]</A>
14 <A HREF="/quotes/vote.php?id=<!--QUOTES.NUMBER-->&dir=minus" CLASS="quote_minus">-</A>
15 <A HREF="/quotes/flag.php?id=<!--QUOTES.NUMBER-->" CLASS="quote_flag">[X]</A>
16 </DIV>
17 13
18 <DIV CLASS="quote_quote"><!--QUOTES.QUOTE--></DIV> 14<P><!--QUOTES.QUOTE--></P>
19 </DIV> 15<!--END QUOTES-->
20 <!--END QUOTES-->
21 16
22 <!--BEGIN PAGENUMBERS--> 17<!--BEGIN PAGENUMBERS-->
23 <!--INCLUDE quotes/pagenumbers--> 18<!--INCLUDE quotes/pagenumbers-->
24 <!--END PAGENUMBERS--> 19<!--END PAGENUMBERS-->
25</DIV>
diff --git a/theme/quotes/home.tpl b/theme/quotes/home.tpl deleted file mode 100755 index 7e8c10f..0000000 --- a/theme/quotes/home.tpl +++ /dev/null
@@ -1,10 +0,0 @@
1<DIV ID="home_all">
2 <H2>Four Island Quotes DB</H2>
3
4 <DIV ID="home_news">
5 <!--BEGIN NEWS-->
6 <DIV CLASS="home_news_date"><!--NEWS.DATE--></DIV>
7 <DIV CLASS="home_news_news"><!--NEWS.POST--></DIV><P>
8 <!--END NEWS-->
9 </DIV>
10</DIV>
diff --git a/theme/quotes/pagenumbers.tpl b/theme/quotes/pagenumbers.tpl index 3171c10..d6aa3bb 100755 --- a/theme/quotes/pagenumbers.tpl +++ b/theme/quotes/pagenumbers.tpl
@@ -1,4 +1,4 @@
1<DIV CLASS="quote_pagenums"> 1<CENTER>
2 <A HREF="/quotes/<!--LORIGIN-->.php">First</A>&nbsp;&nbsp; 2 <A HREF="/quotes/<!--LORIGIN-->.php">First</A>&nbsp;&nbsp;
3 <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--MINUSTEN-->">-10</A>&nbsp;&nbsp; 3 <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--MINUSTEN-->">-10</A>&nbsp;&nbsp;
4 <!--BDDD--> 4 <!--BDDD-->
@@ -12,4 +12,4 @@
12 <!--ADDD--> 12 <!--ADDD-->
13 <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--PLUSTEN-->">+10</A>&nbsp;&nbsp; 13 <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--PLUSTEN-->">+10</A>&nbsp;&nbsp;
14 <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--LASTPAGE-->">Last</A>&nbsp;&nbsp; 14 <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--LASTPAGE-->">Last</A>&nbsp;&nbsp;
15</DIV> 15</CENTER>
diff --git a/theme/quotes/search.tpl b/theme/quotes/search.tpl index 491c861..edd546a 100755 --- a/theme/quotes/search.tpl +++ b/theme/quotes/search.tpl
@@ -1,19 +1,17 @@
1<DIV CLASS="search_all"> 1<H1>Search</H1>
2 <DIV ID="search_title">Search</DIV>
3 2
4 <FORM METHOD="POST" ACTION="/quotes/search.php?fetch="> 3<FORM METHOD="POST" ACTION="/quotes/search.php?fetch=">
5 <INPUT TYPE="text" NAME="search" SIZE="28" ID="search_query-box">&nbsp; 4 <INPUT TYPE="text" NAME="search" SIZE="28">&nbsp;
6 <INPUT TYPE="submit" NAME="submit" ID="search_submit-button"><BR> 5 <INPUT TYPE="submit" NAME="submit"><BR>
7 Sort: <SELECT NAME="sortby" SIZE="1" ID="search_sortby-dropdown"> 6 Sort: <SELECT NAME="sortby" SIZE="1">
8 <OPTION SELECTED>Rating</OPTION> 7 <OPTION SELECTED>Rating</OPTION>
9 <OPTION>ID</OPTION> 8 <OPTION>ID</OPTION>
10 </SELECT>&nbsp; 9 </SELECT>&nbsp;
11 How many: <SELECT NAME="number" SIZE="1" ID="search_limit-dropdown"> 10 How many: <SELECT NAME="number" SIZE="1">
12 <OPTION SELECTED>10</OPTION> 11 <OPTION SELECTED>10</OPTION>
13 <OPTION>25</OPTION> 12 <OPTION>25</OPTION>
14 <OPTION>50</OPTION> 13 <OPTION>50</OPTION>
15 <OPTION>75</OPTION> 14 <OPTION>75</OPTION>
16 <OPTION>100</OPTION> 15 <OPTION>100</OPTION>
17 </SELECT> 16 </SELECT>
18 </FORM> 17</FORM>
19</DIV>