r27422 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r27421‎ | r27422 | r27423 >
Date:07:56, 12 November 2007
Author:straussd
Status:old
Tags:
Comment:
Use Panels module for FundCORE frontpage
Modified paths:
  • /trunk/fundcore/modules/fundcore_frontpage/content (added) (history)
  • /trunk/fundcore/modules/fundcore_frontpage/content/donatebox.inc (added) (history)
  • /trunk/fundcore/modules/fundcore_frontpage/content/lastline.inc (added) (history)
  • /trunk/fundcore/modules/fundcore_frontpage/content/otherbox.inc (added) (history)
  • /trunk/fundcore/modules/fundcore_frontpage/content/storybox.inc (added) (history)
  • /trunk/fundcore/modules/fundcore_frontpage/content/videobox.inc (added) (history)
  • /trunk/fundcore/modules/fundcore_frontpage/content/whatweneedbox.inc (added) (history)
  • /trunk/fundcore/modules/fundcore_frontpage/fundcore_frontpage.content.inc (deleted) (history)
  • /trunk/fundcore/modules/fundcore_frontpage/fundcore_frontpage.module (modified) (history)

Diff [purge]

Index: trunk/fundcore/modules/fundcore_frontpage/fundcore_frontpage.content.inc
@@ -1,236 +0,0 @@
2 - <table border="0" cellspacing="0" cellpadding="0">
3 - <tr>
4 - <td width="463" valign="top">
5 - <!-- ++++++++++ VIDEOBOX begin ++++++++++ -->
6 - <table border="0" cellspacing="0" cellpadding="0" width="463">
7 - <!-- First line -->
8 - <tr>
9 - <td colspan="4"><img src="/sites/all/modules/fundcore_frontpage/images/videobox-top.jpg" width="463" height="17" alt="border-top"></td>
10 - </tr>
11 - <!-- Second line -->
12 - <tr>
13 - <td colspan="4"><img src="/sites/all/modules/fundcore_frontpage/images/imagine-a-world.gif" width="463" height="75" alt="Imagine a world..."></td>
14 - </tr>
15 - <!-- Third line -->
16 - <tr>
17 - <td colspan="4" height="18" style="border-top-width:0px; border-bottom-width:0px; border-left-width:1px; border-right-width:1px; border-style:solid; border-color:#c2c2c2; background-color:#ffffff">
18 - &nbsp;
19 - </td>
20 - </tr>
21 - <!-- Fourth line -->
22 - <tr>
23 - <td width="61" style="border-top-width:0px; border-bottom-width:0px; border-left-width:1px; border-right-width:0px; border-style:solid; border-color:#c2c2c2; background-color:#ffffff">
24 - &nbsp;
25 - </td>
26 -
27 - <td valign="top" style="background-color:#ffffff;">
28 - <!-- INSERT YOUTUBE VIDEO (Take care to adjust height to 217px and width to 263px) -->
29 - <object width="263" height="217">
30 - <param name="movie" value="http://www.youtube.com/v/y6mCO5lXsSU&rel=1"></param>
31 - <param name="wmode" value="transparent"></param>
32 - <embed src="http://www.youtube.com/v/y6mCO5lXsSU&rel=1" type="application/x-shockwave-flash" wmode="transparent" width="263" height="217"></embed>
33 - </object>
34 - <!-- END INSERT -->
35 - </td>
36 -
37 - <td width="32" style="background-color:#ffffff"></td><td width="107" valign="bottom" align="right" style="border-top-width:0px; border-bottom-width:0px; border-left-width:0px; border-right-width:1px; border-style:solid; border-color:#c2c2c2; background-color:#ffffff"><img src="/sites/all/modules/fundcore_frontpage/images/jimbo-top.jpg" width="106" height="94" alt="Jimbo portrait top"></td></tr>
38 - <!-- Fifth line -->
39 - <tr>
40 - <td style="border-top-width:0px; border-bottom-width:0px; border-left-width:1px; border-right-width:0px; border-style:solid; border-color:#c2c2c2; background-color:#ffffff;">
41 - &nbsp;
42 - </td>
43 - <td align="right" style="background-color:#ffffff;">
44 - <div id="videooptions">
45 - <!-- INSERT REFERENCE to video options -->
46 - <a href="http://wikimediafoundation.org/donate/2007/psa/" target="_blank">Click here</a> for video playback options.
47 - <!-- END INSERT -->
48 - </div>
49 - </td>
50 - <td align="right" colspan="2" height="29" style="border-top-width:0px; border-bottom-width:0px; border-left-width:0px; border-right-width:0px; border-style:solid; border-color:#c2c2c2; background-color:#ffffff">
51 - <img src="/sites/all/modules/fundcore_frontpage/images/jimbo-middle.jpg" width="107" height="29" alt="Jimbo portrait middle">
52 - </td>
53 - </tr>
54 - <!-- Sixth line -->
55 - <tr>
56 - <td colspan="4">
57 - <img src="/sites/all/modules/fundcore_frontpage/images/videobox-bottom.jpg" width="463" height="14" alt="border-bottom">
58 - </td>
59 - </tr>
60 - </table>
61 - <!-- ++++++++++ VIDEOBOX end ++++++++++++ -->
62 -
63 - <br><br>
64 -
65 - <!-- ++++++++++ STORYBOX begin ++++++++++ -->
66 - <table border="0" cellspacing="0" cellpadding="0" width="463" id="storybox">
67 - <?php //story('patricio-lorente')
68 - ?>
69 - </table>
70 -
71 - <!-- ++++++++++ STORYBOX end ++++++++++++ -->
72 -
73 - </td>
74 -
75 - <td width="38"></td><!-- Spacer middle of the page -->
76 -
77 - <td width="321" valign="top">
78 -
79 - <!-- ++++++++++ DONATEBOX begin ++++++++++ -->
80 - <!-- ADJUST LINK to donate page here -->
81 - <form action="...">
82 - <table border="0" cellspacing="0" cellpadding="0" width="321">
83 -
84 - <!-- First line -->
85 - <tr>
86 - <td valign="top" colspan="4">
87 - <img src="/sites/all/modules/fundcore_frontpage/images/donatebox-top.jpg" width="321" height="63" alt="donatebox-top">
88 - </td>
89 - </tr>
90 -
91 - <!-- Second line -->
92 - <tr>
93 - <td width="21" height="33" valign="top" style="border-top-width:0px; border-bottom-width:0px; border-left-width:1px; border-right-width:0px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
94 - &nbsp;
95 - </td>
96 - <td valign="top" width="105" style="background-color:#f8e5bb">
97 - <img src="/sites/all/modules/fundcore_frontpage/images/payment-first-line.gif" alt="Payment methods">
98 - </td>
99 - <td valign="top" align="left" style="background-color:#f8e5bb">
100 - <!-- ADJUST end -->
101 - <input name="amount" type="text" size="8">&nbsp;&nbsp;
102 - <select name="currency" size="1">
103 - <option selected="selected">USD</option>
104 - <option>EUR</option>
105 - <option>ZAR</option>
106 - </select>
107 - </td>
108 - <td width="21" valign="top" style="border-top-width:0px; border-bottom-width:0px; border-left-width:0px; border-right-width:1px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
109 - &nbsp;
110 - </td>
111 - </tr>
112 -
113 - <!-- Third line -->
114 - <tr>
115 - <td width="21" height="33" valign="top" style="border-top-width:0px; border-bottom-width:0px; border-left-width:1px; border-right-width:0px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
116 - &nbsp;
117 - </td>
118 - <td colspan="2" valign="top" align="left" height="27" style="background-color:#f8e5bb">
119 - <img src="/sites/all/modules/fundcore_frontpage/images/payment-second-line.gif" alt="Payment methods"></td>
120 - <td width="21" valign="top" style="border-top-width:0px; border-bottom-width:0px; border-left-width:0px; border-right-width:1px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
121 - &nbsp;
122 - </td>
123 - </tr>
124 -
125 - <!-- Fourth line -->
126 - <tr>
127 - <td width="21" valign="top" style="border-top-width:0px; border-bottom-width:0px; border-left-width:1px; border-right-width:0px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
128 - &nbsp;
129 - </td>
130 - <td colspan="2" valign="top" align="left" style="background-color:#f8e5bb">
131 - <div class="tax-exemption">
132 - <br>
133 - <!-- INSERT TEXT -->
134 - The Wikimedia Foundation is a <b>501(c)(3) tax exempt charitable corporation</b>. You may deduct donations from your federally-taxable income.
135 - <!-- END INSERT -->
136 - </div>
137 - </td>
138 - <td width="21" valign="top" style="border-top-width:0px; border-bottom-width:0px; border-left-width:0px; border-right-width:1px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
139 - &nbsp;
140 - </td>
141 - </tr>
142 -
143 - <!-- Fifth line -->
144 - <tr>
145 - <td width="21" height="64" valign="top" style="border-top-width:0px; border-bottom-width:1px; border-left-width:1px; border-right-width:0px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
146 - &nbsp;
147 - </td>
148 - <td colspan="2" valign="top" align="right" style="border-top-width:0px; border-bottom-width:1px; border-left-width:0px; border-right-width:0px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
149 - <br>
150 - <input type="image" src="/sites/all/modules/fundcore_frontpage/images/button-donate-now.gif" alt="Donate now">
151 - </td>
152 - <td width="21" valign="top" style="border-top-width:0px; border-bottom-width:1px; border-left-width:0px; border-right-width:1px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
153 - &nbsp;
154 - </td></tr>
155 -
156 - </table>
157 - </form>
158 - <!-- ++++++++++ DONATEBOX end ++++++++++ -->
159 -
160 - <br><br>
161 -
162 - <!-- ++++++++++ OTHERBOX begin ++++++++++ -->
163 - <table border="0" cellspacing="0" cellpadding="0" width="321">
164 -
165 - <tr>
166 - <td style="background-color:#ececec;">
167 - <ul class="tabmenu" style="display: none" id="deposit">
168 - <li><a id="deposit-a-0" class="active">Bank transfer</a></li>
169 - <li><a id="deposit-a-1" href="javascript:tab('deposit',1)">Send a cheque</a></li>
170 - </ul>
171 - <div class="tabmenu-pane" id="deposit-pane-0">
172 - <p><b>Deposit money into our bank account:</b></p>
173 - <p>Account holder: Wikimedia Foundation<br>
174 - Account: 068-9999995-01</p>
175 - <p>Bank: Dexia bank/Banque Dexia<br>
176 - IBAN: BE43 0689 9999 9501<br>
177 - BIC: GKCCBEBB</p>
178 - </div>
179 - <div class="tabmenu-pane" id="deposit-pane-1">
180 - TODO Cheque
181 - </div>
182 - <!-- Hide the second pane (semi-compatible with non-JS browsers -->
183 - <script type="text/javascript">tab('deposit', 0);</script>
184 - </td>
185 - </tr>
186 -
187 - </table>
188 -
189 - <!-- ++++++++++ OTHERBOX end ++++++++++ -->
190 -
191 - <br><br>
192 -
193 - <!-- ++++++++++ WHATWENEEDBOX begin ++++++++++ -->
194 - <table border="0" cellspacing="0" cellpadding="0" width="321">
195 -
196 - <!-- Box header -->
197 - <tr>
198 - <td>
199 - <img src="/sites/all/modules/fundcore_frontpage/images/box-header-left.jpg" width="17" height="30">
200 - </td>
201 - <td align="left" width="287" style="background-image:url(/sites/all/modules/fundcore_frontpage/images/box-header-background.gif); background-repeat:repeat-x;">
202 - <!-- INSERT BOX TITLE -->What we need the money for<!-- END INSERT -->
203 - </td>
204 - <td>
205 - <img src="/sites/all/modules/fundcore_frontpage/images/box-header-right.jpg" width="17" height="30">
206 - </td>
207 - </tr>
208 - <!-- Box content -->
209 - <tr>
210 - <td height="200" style="border-top-width:0px; border-bottom-width:1px; border-left-width:1px; border-right-width:0px; border-style:solid; border-color:#d0d0d0; background-color:#ffffff">
211 - &nbsp;
212 - </td>
213 - <td valign="top" style="border-top-width:0px; border-bottom-width:1px; border-left-width:0px; border-right-width:0px; border-style:solid; border-bottom-color:#d0d0d0; background-color:#ffffff">
214 - <br>
215 - <img src="/sites/all/modules/fundcore_frontpage/images/planned-spending-distribution.jpg" height="157" width="287" alt="Planned spendign distribution">
216 - <br>
217 - <br>
218 - <div class="whatweneed">
219 - <!-- INSERT TEXT -->
220 - <p>Please read our latest <a href="http://upload.wikimedia.org/wikipedia/foundation/2/28/Wikimedia_2006_fs.pdf">financial report</a> (PDF) and have a look at our <a href="http://meta.wikimedia.org/wiki/Wikimedia_servers/hardware_orders">list of the hardware we ordered</a> after our last fundraising drive.</p>
221 - <p>Do you have more questions about our current fundraising drive? Please read our <a href="http://wikimediafoundation.org/wiki/Fundraising_FAQ">Fundraising FAQ</a>.
222 - </p>
223 - <!-- END INSERT -->
224 - <br>
225 - </div>
226 - </td>
227 - <td style="border-top-width:0px; border-bottom-width:1px; border-left-width:0px; border-right-width:1px; border-style:solid; border-color:#d0d0d0; background-color:#ffffff">
228 - &nbsp;
229 - </td>
230 - </tr>
231 - </table>
232 - <!-- ++++++++++ WHATWENEEDBOX end ++++++++++++ -->
233 -
234 - </td>
235 -
236 - </tr>
237 - </table>
Index: trunk/fundcore/modules/fundcore_frontpage/content/storybox.inc
@@ -0,0 +1,7 @@
 2+<!-- ++++++++++ STORYBOX begin ++++++++++ -->
 3+<table border="0" cellspacing="0" cellpadding="0" width="463" id="storybox">
 4+<?php //story('patricio-lorente')
 5+?>
 6+</table>
 7+
 8+<!-- ++++++++++ STORYBOX end ++++++++++++ -->
Property changes on: trunk/fundcore/modules/fundcore_frontpage/content/storybox.inc
___________________________________________________________________
Added: svn:eol-style
19 + native
Index: trunk/fundcore/modules/fundcore_frontpage/content/otherbox.inc
@@ -0,0 +1,28 @@
 2+<!-- ++++++++++ OTHERBOX begin ++++++++++ -->
 3+<table border="0" cellspacing="0" cellpadding="0" width="321">
 4+
 5+ <tr>
 6+ <td style="background-color:#ececec;">
 7+ <ul class="tabmenu" style="display: none" id="deposit">
 8+ <li><a id="deposit-a-0" class="active">Bank transfer</a></li>
 9+ <li><a id="deposit-a-1" href="javascript:tab('deposit',1)">Send a cheque</a></li>
 10+ </ul>
 11+ <div class="tabmenu-pane" id="deposit-pane-0">
 12+ <p><b>Deposit money into our bank account:</b></p>
 13+ <p>Account holder: Wikimedia Foundation<br>
 14+ Account: 068-9999995-01</p>
 15+ <p>Bank: Dexia bank/Banque Dexia<br>
 16+ IBAN: BE43 0689 9999 9501<br>
 17+ BIC: GKCCBEBB</p>
 18+ </div>
 19+ <div class="tabmenu-pane" id="deposit-pane-1">
 20+ TODO Cheque
 21+ </div>
 22+ <!-- Hide the second pane (semi-compatible with non-JS browsers -->
 23+ <script type="text/javascript">tab('deposit', 0);</script>
 24+ </td>
 25+ </tr>
 26+
 27+</table>
 28+
 29+<!-- ++++++++++ OTHERBOX end ++++++++++ -->
\ No newline at end of file
Property changes on: trunk/fundcore/modules/fundcore_frontpage/content/otherbox.inc
___________________________________________________________________
Added: svn:eol-style
130 + native
Index: trunk/fundcore/modules/fundcore_frontpage/content/lastline.inc
@@ -0,0 +1 @@
 2+<a href="http://wikimediafoundation.org/wiki/Fundraising_FAQ">Fundraising FAQ</a>&nbsp;&nbsp;&nbsp;&nbsp;<b>&middot;</b>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://wikimediafoundation.org/wiki/Donor_Privacy_Policy">Donor privacy policy</a>&nbsp;&nbsp;&nbsp;&nbsp;<b>&middot;</b>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://wikimediafoundation.org/wiki/Deductibility_of_donations">Tax Deductability of Donations</a>&nbsp;&nbsp;&nbsp;&nbsp;<b>&middot;</b>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://wikimediafoundation.org/wiki/Planned_Spending_Distribution_2007-2008">Planned Spending Distribution</a>
\ No newline at end of file
Property changes on: trunk/fundcore/modules/fundcore_frontpage/content/lastline.inc
___________________________________________________________________
Added: svn:eol-style
13 + native
Index: trunk/fundcore/modules/fundcore_frontpage/content/videobox.inc
@@ -0,0 +1,57 @@
 2+<!-- ++++++++++ VIDEOBOX begin ++++++++++ -->
 3+<table border="0" cellspacing="0" cellpadding="0" width="463">
 4+ <!-- First line -->
 5+ <tr>
 6+ <td colspan="4"><img src="/sites/all/modules/fundcore_frontpage/images/videobox-top.jpg" width="463" height="17" alt="border-top"></td>
 7+ </tr>
 8+ <!-- Second line -->
 9+ <tr>
 10+ <td colspan="4"><img src="/sites/all/modules/fundcore_frontpage/images/imagine-a-world.gif" width="463" height="75" alt="Imagine a world..."></td>
 11+ </tr>
 12+ <!-- Third line -->
 13+ <tr>
 14+ <td colspan="4" height="18" style="border-top-width:0px; border-bottom-width:0px; border-left-width:1px; border-right-width:1px; border-style:solid; border-color:#c2c2c2; background-color:#ffffff">
 15+ &nbsp;
 16+ </td>
 17+ </tr>
 18+ <!-- Fourth line -->
 19+ <tr>
 20+ <td width="61" style="border-top-width:0px; border-bottom-width:0px; border-left-width:1px; border-right-width:0px; border-style:solid; border-color:#c2c2c2; background-color:#ffffff">
 21+ &nbsp;
 22+ </td>
 23+
 24+ <td valign="top" style="background-color:#ffffff;">
 25+ <!-- INSERT YOUTUBE VIDEO (Take care to adjust height to 217px and width to 263px) -->
 26+ <object width="263" height="217">
 27+ <param name="movie" value="http://www.youtube.com/v/y6mCO5lXsSU&rel=1"></param>
 28+ <param name="wmode" value="transparent"></param>
 29+ <embed src="http://www.youtube.com/v/y6mCO5lXsSU&rel=1" type="application/x-shockwave-flash" wmode="transparent" width="263" height="217"></embed>
 30+ </object>
 31+ <!-- END INSERT -->
 32+ </td>
 33+
 34+ <td width="32" style="background-color:#ffffff"></td><td width="107" valign="bottom" align="right" style="border-top-width:0px; border-bottom-width:0px; border-left-width:0px; border-right-width:1px; border-style:solid; border-color:#c2c2c2; background-color:#ffffff"><img src="/sites/all/modules/fundcore_frontpage/images/jimbo-top.jpg" width="106" height="94" alt="Jimbo portrait top"></td></tr>
 35+ <!-- Fifth line -->
 36+ <tr>
 37+ <td style="border-top-width:0px; border-bottom-width:0px; border-left-width:1px; border-right-width:0px; border-style:solid; border-color:#c2c2c2; background-color:#ffffff;">
 38+ &nbsp;
 39+ </td>
 40+ <td align="right" style="background-color:#ffffff;">
 41+ <div id="videooptions">
 42+ <!-- INSERT REFERENCE to video options -->
 43+ <a href="http://wikimediafoundation.org/donate/2007/psa/" target="_blank">Click here</a> for video playback options.
 44+ <!-- END INSERT -->
 45+ </div>
 46+ </td>
 47+ <td align="right" colspan="2" height="29" style="border-top-width:0px; border-bottom-width:0px; border-left-width:0px; border-right-width:0px; border-style:solid; border-color:#c2c2c2; background-color:#ffffff">
 48+ <img src="/sites/all/modules/fundcore_frontpage/images/jimbo-middle.jpg" width="107" height="29" alt="Jimbo portrait middle">
 49+ </td>
 50+ </tr>
 51+ <!-- Sixth line -->
 52+ <tr>
 53+ <td colspan="4">
 54+ <img src="/sites/all/modules/fundcore_frontpage/images/videobox-bottom.jpg" width="463" height="14" alt="border-bottom">
 55+ </td>
 56+ </tr>
 57+</table>
 58+<!-- ++++++++++ VIDEOBOX end ++++++++++++ -->
\ No newline at end of file
Property changes on: trunk/fundcore/modules/fundcore_frontpage/content/videobox.inc
___________________________________________________________________
Added: svn:eol-style
159 + native
Index: trunk/fundcore/modules/fundcore_frontpage/content/donatebox.inc
@@ -0,0 +1,80 @@
 2+<!-- ++++++++++ DONATEBOX begin ++++++++++ -->
 3+<!-- ADJUST LINK to donate page here -->
 4+<form action="...">
 5+ <table border="0" cellspacing="0" cellpadding="0" width="321">
 6+
 7+ <!-- First line -->
 8+ <tr>
 9+ <td valign="top" colspan="4">
 10+ <img src="/sites/all/modules/fundcore_frontpage/images/donatebox-top.jpg" width="321" height="63" alt="donatebox-top">
 11+ </td>
 12+ </tr>
 13+
 14+ <!-- Second line -->
 15+ <tr>
 16+ <td width="21" height="33" valign="top" style="border-top-width:0px; border-bottom-width:0px; border-left-width:1px; border-right-width:0px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
 17+ &nbsp;
 18+ </td>
 19+ <td valign="top" width="105" style="background-color:#f8e5bb">
 20+ <img src="/sites/all/modules/fundcore_frontpage/images/payment-first-line.gif" alt="Payment methods">
 21+ </td>
 22+ <td valign="top" align="left" style="background-color:#f8e5bb">
 23+ <!-- ADJUST end -->
 24+ <input name="amount" type="text" size="8">&nbsp;&nbsp;
 25+ <select name="currency" size="1">
 26+ <option selected="selected">USD</option>
 27+ <option>EUR</option>
 28+ <option>ZAR</option>
 29+ </select>
 30+ </td>
 31+ <td width="21" valign="top" style="border-top-width:0px; border-bottom-width:0px; border-left-width:0px; border-right-width:1px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
 32+ &nbsp;
 33+ </td>
 34+ </tr>
 35+
 36+ <!-- Third line -->
 37+ <tr>
 38+ <td width="21" height="33" valign="top" style="border-top-width:0px; border-bottom-width:0px; border-left-width:1px; border-right-width:0px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
 39+ &nbsp;
 40+ </td>
 41+ <td colspan="2" valign="top" align="left" height="27" style="background-color:#f8e5bb">
 42+ <img src="/sites/all/modules/fundcore_frontpage/images/payment-second-line.gif" alt="Payment methods"></td>
 43+ <td width="21" valign="top" style="border-top-width:0px; border-bottom-width:0px; border-left-width:0px; border-right-width:1px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
 44+ &nbsp;
 45+ </td>
 46+ </tr>
 47+
 48+ <!-- Fourth line -->
 49+ <tr>
 50+ <td width="21" valign="top" style="border-top-width:0px; border-bottom-width:0px; border-left-width:1px; border-right-width:0px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
 51+ &nbsp;
 52+ </td>
 53+ <td colspan="2" valign="top" align="left" style="background-color:#f8e5bb">
 54+ <div class="tax-exemption">
 55+ <br>
 56+ <!-- INSERT TEXT -->
 57+ The Wikimedia Foundation is a <b>501(c)(3) tax exempt charitable corporation</b>. You may deduct donations from your federally-taxable income.
 58+ <!-- END INSERT -->
 59+ </div>
 60+ </td>
 61+ <td width="21" valign="top" style="border-top-width:0px; border-bottom-width:0px; border-left-width:0px; border-right-width:1px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
 62+ &nbsp;
 63+ </td>
 64+ </tr>
 65+
 66+ <!-- Fifth line -->
 67+ <tr>
 68+ <td width="21" height="64" valign="top" style="border-top-width:0px; border-bottom-width:1px; border-left-width:1px; border-right-width:0px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
 69+ &nbsp;
 70+ </td>
 71+ <td colspan="2" valign="top" align="right" style="border-top-width:0px; border-bottom-width:1px; border-left-width:0px; border-right-width:0px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
 72+ <br>
 73+ <input type="image" src="/sites/all/modules/fundcore_frontpage/images/button-donate-now.gif" alt="Donate now">
 74+ </td>
 75+ <td width="21" valign="top" style="border-top-width:0px; border-bottom-width:1px; border-left-width:0px; border-right-width:1px; border-style:solid; border-color:#e9a95e; background-color:#f8e5bb">
 76+ &nbsp;
 77+ </td></tr>
 78+
 79+ </table>
 80+</form>
 81+<!-- ++++++++++ DONATEBOX end ++++++++++ -->
Property changes on: trunk/fundcore/modules/fundcore_frontpage/content/donatebox.inc
___________________________________________________________________
Added: svn:eol-style
182 + native
Index: trunk/fundcore/modules/fundcore_frontpage/content/whatweneedbox.inc
@@ -0,0 +1,40 @@
 2+<!-- ++++++++++ WHATWENEEDBOX begin ++++++++++ -->
 3+<table border="0" cellspacing="0" cellpadding="0" width="321">
 4+
 5+ <!-- Box header -->
 6+ <tr>
 7+ <td>
 8+ <img src="/sites/all/modules/fundcore_frontpage/images/box-header-left.jpg" width="17" height="30">
 9+ </td>
 10+ <td align="left" width="287" style="background-image:url(/sites/all/modules/fundcore_frontpage/images/box-header-background.gif); background-repeat:repeat-x;">
 11+ <!-- INSERT BOX TITLE -->What we need the money for<!-- END INSERT -->
 12+ </td>
 13+ <td>
 14+ <img src="/sites/all/modules/fundcore_frontpage/images/box-header-right.jpg" width="17" height="30">
 15+ </td>
 16+ </tr>
 17+ <!-- Box content -->
 18+ <tr>
 19+ <td height="200" style="border-top-width:0px; border-bottom-width:1px; border-left-width:1px; border-right-width:0px; border-style:solid; border-color:#d0d0d0; background-color:#ffffff">
 20+ &nbsp;
 21+ </td>
 22+ <td valign="top" style="border-top-width:0px; border-bottom-width:1px; border-left-width:0px; border-right-width:0px; border-style:solid; border-bottom-color:#d0d0d0; background-color:#ffffff">
 23+ <br>
 24+ <img src="/sites/all/modules/fundcore_frontpage/images/planned-spending-distribution.jpg" height="157" width="287" alt="Planned spendign distribution">
 25+ <br>
 26+ <br>
 27+ <div class="whatweneed">
 28+ <!-- INSERT TEXT -->
 29+ <p>Please read our latest <a href="http://upload.wikimedia.org/wikipedia/foundation/2/28/Wikimedia_2006_fs.pdf">financial report</a> (PDF) and have a look at our <a href="http://meta.wikimedia.org/wiki/Wikimedia_servers/hardware_orders">list of the hardware we ordered</a> after our last fundraising drive.</p>
 30+ <p>Do you have more questions about our current fundraising drive? Please read our <a href="http://wikimediafoundation.org/wiki/Fundraising_FAQ">Fundraising FAQ</a>.
 31+ </p>
 32+ <!-- END INSERT -->
 33+ <br>
 34+ </div>
 35+ </td>
 36+ <td style="border-top-width:0px; border-bottom-width:1px; border-left-width:0px; border-right-width:1px; border-style:solid; border-color:#d0d0d0; background-color:#ffffff">
 37+ &nbsp;
 38+ </td>
 39+ </tr>
 40+</table>
 41+<!-- ++++++++++ WHATWENEEDBOX end ++++++++++++ -->
\ No newline at end of file
Property changes on: trunk/fundcore/modules/fundcore_frontpage/content/whatweneedbox.inc
___________________________________________________________________
Added: svn:eol-style
142 + native
Index: trunk/fundcore/modules/fundcore_frontpage/fundcore_frontpage.module
@@ -1,25 +1,27 @@
22 <?php
33
4 -function fundcore_frontpage_menu($may_cache) {
5 - $items = array();
6 -
7 - if ($may_cache) {
8 - $items[] = array(
9 - 'path' => 'fundcore_frontpage',
10 - 'type' => MENU_CALLBACK,
11 - 'access' => TRUE,
12 - 'callback' => 'fundcore_frontpage_page',
13 - );
14 - }
15 -
 4+function fundcore_frontpage_panels_layouts() {
 5+ $items['fundcore_frontpage'] = array(
 6+ 'module' => 'fundcore_frontpage_panel',
 7+ 'title' => t('Fundraising CORE Frontpage'),
 8+ 'icon' => 'fundcore_frontpage_panel.png',
 9+ 'theme' => 'fundcore_frontpage_panel',
 10+ 'css' => 'fundcore_frontpage_panel_layout.css',
 11+ 'content areas' => array(
 12+ 'left' => t('Left side'),
 13+ 'right' => t('Right side'),
 14+ ),
 15+ );
 16+
1617 return $items;
1718 }
1819
19 -function fundcore_frontpage_page() {
20 - //drupal_set_title('Contribute');
21 -
22 - $content = _fundcore_frontpage_render('fundcore_frontpage.content.inc');
23 -
 20+function theme_fundcore_frontpage_panel($id, $content) {
 21+ $content = '<table border="0" cellspacing="0" cellpadding="0"><tr>
 22+ <td width="463" valign="top">' . $content['left'] . '</td>
 23+ <td width="38"></td><!-- Spacer middle of the page -->
 24+ <td width="321" valign="top">' . $content['right'] . '</td>
 25+ </tr></table>';
2426 return $content;
2527 }
2628
@@ -34,17 +36,29 @@
3537
3638 function fundcore_frontpage_block($op = 'list', $delta = 0, $edit = array()) {
3739 if ($op == 'list') {
38 - $blocks[0] = array(
39 - 'info' => t('Fundraising footer'),
40 - 'weight' => 0,
41 - 'enabled' => 1,
42 - 'region' => 'last_line'
 40+ $blocks['donatebox'] = array(
 41+ 'info' => t('FundCORE Frontpage: Donation box'),
4342 );
 43+ $blocks['otherbox'] = array(
 44+ 'info' => t('FundCORE Frontpage: Other box'),
 45+ );
 46+ $blocks['storybox'] = array(
 47+ 'info' => t('FundCORE Frontpage: Story box'),
 48+ );
 49+ $blocks['videobox'] = array(
 50+ 'info' => t('FundCORE Frontpage: Video box'),
 51+ );
 52+ $blocks['whatweneedbox'] = array(
 53+ 'info' => t('FundCORE Frontpage: What We Need box'),
 54+ );
 55+ $blocks['lastline'] = array(
 56+ 'info' => t('FundCORE Frontpage: Last line text'),
 57+ );
4458 return $blocks;
4559 }
4660 else if ($op == 'view') {
4761 $block = array(
48 - 'content' => _fundcore_frontpage_render('fundcore_frontpage.block.inc'),
 62+ 'content' => _fundcore_frontpage_render('content/' . $delta . '.inc'),
4963 );
5064 return $block;
5165 }

Status & tagging log