Subsilver2 edits
Posted: 16 Jan 2012, 03:32
here is a demo
atlanticaforums.com
to place on your index
open: styles/subsilver2/templates/index_body.html
to add it to the top of your page
find:
add before:
to have it at the bottom of your page
find:
add after:
open: styles/subsilver2/templates/donate/cancel_body.html
find:
replace with:
open: styles/subsilver2/templates/donate/donate_body.html
find:
replace with:
open: styles/subsilver2/templates/donate/success_body.html
find:
replace with:
If you are using my who donated what list add-on located here add the following to the code above.
open: styles/subsilver2/templates/index_body.html
find:
add before:
If I have missed something please let me know.
atlanticaforums.com
to place on your index
open: styles/subsilver2/templates/index_body.html
to add it to the top of your page
find:
Code: Select all
<!-- INCLUDE forumlist_body.html -->
Code: Select all
<!-- IF DONATION_INDEX_ENABLE and (DONATION_ACHIEVEMENT_ENABLE or DONATION_GOAL_ENABLE) -->
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat" colspan="2"><h4><a href="{U_DONATE}">{L_DONATIONS_INDEX}</a></h4></td>
</tr>
<!-- IF DONATION_GOAL_ENABLE and DONATION_ACHIEVEMENT_ENABLE and DONATION_GOAL > 0 -->
<tr>
<td class="row1" width="100%"><p class="genmed">
<div style="background:url('{ROOT_PATH}images/prog_grey.png') repeat-x; background-color: #cccccc; border: 1px solid black; width:100%; margin-top: 2px;"><div style="background:url('{ROOT_PATH}images/prog_green.png') repeat-x;background-color: #008040; color: white; font-weight:bold; max-width:100%; width:{DONATION_GOAL_NUMBER}%; height:24px;"><span style="padding-left:25px; font-size:18px;">{DONATION_GOAL_NUMBER}%</span></div></div>
<!-- ENDIF -->
<p style="text-align:center;"><!-- IF DONATION_ACHIEVEMENT_ENABLE -->{L_WE_HAVE_ACHIEVED} <strong><!-- IF DONATION_ACHIEVEMENT > 0 -->{DONATION_ACHIEVEMENT}<!-- ELSE -->{DONATION_GOAL_NUMBER}<!-- ENDIF --></strong><!-- IF DONATION_GOAL_CURRENCY_ENABLE --> {DONATION_GOAL_CURRENCY}<!-- ENDIF --> {L_WE_HAVE_ACHIEVED_IN}<!-- ENDIF --><!-- IF DONATION_GOAL_ENABLE and DONATION_GOAL > 0 --> {L_OUR_DONATION_GOAL} <strong>{DONATION_GOAL}</strong><!-- IF DONATION_GOAL_CURRENCY_ENABLE --> {DONATION_GOAL_CURRENCY}<!-- ENDIF -->.<!-- ENDIF --></p>
</td>
</tr><!-- ENDIF -->
</table>
<br clear="all" />
find:
Code: Select all
<!-- INCLUDE breadcrumbs.html -->
Code: Select all
<!-- IF DONATION_INDEX_ENABLE and (DONATION_ACHIEVEMENT_ENABLE or DONATION_GOAL_ENABLE) -->
<br clear="all" />
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat" colspan="2"><h4><a href="{U_DONATE}">{L_DONATIONS_INDEX}</a></h4></td>
</tr>
<!-- IF DONATION_GOAL_ENABLE and DONATION_ACHIEVEMENT_ENABLE and DONATION_GOAL > 0 -->
<tr>
<td class="row1" width="100%"><p class="genmed">
<div style="background:url('{ROOT_PATH}images/prog_grey.png') repeat-x; background-color: #cccccc; border: 1px solid black; width:100%; margin-top: 2px;"><div style="background:url('{ROOT_PATH}images/prog_green.png') repeat-x;background-color: #008040; color: white; font-weight:bold; max-width:100%; width:{DONATION_GOAL_NUMBER}%; height:24px;"><span style="padding-left:25px; font-size:18px;">{DONATION_GOAL_NUMBER}%</span></div></div>
<!-- ENDIF -->
<p style="text-align:center;"><!-- IF DONATION_ACHIEVEMENT_ENABLE -->{L_WE_HAVE_ACHIEVED} <strong><!-- IF DONATION_ACHIEVEMENT > 0 -->{DONATION_ACHIEVEMENT}<!-- ELSE -->{DONATION_GOAL_NUMBER}<!-- ENDIF --></strong><!-- IF DONATION_GOAL_CURRENCY_ENABLE --> {DONATION_GOAL_CURRENCY}<!-- ENDIF --> {L_WE_HAVE_ACHIEVED_IN}<!-- ENDIF --><!-- IF DONATION_GOAL_ENABLE and DONATION_GOAL > 0 --> {L_OUR_DONATION_GOAL} <strong>{DONATION_GOAL}</strong><!-- IF DONATION_GOAL_CURRENCY_ENABLE --> {DONATION_GOAL_CURRENCY}<!-- ENDIF -->.<!-- ENDIF --></p>
<p style="text-align:center;"><marquee>{DONATION_FROM}</marquee></p>
</td>
</tr><!-- ENDIF -->
</table>
find:
Code: Select all
<h2>{SITENAME} {L_DONATION_CANCELLED_TITLE}</h2>
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
{DONATION_CANCEL}
<span class="corners-bottom"><span></span></span></div>
</div>
Code: Select all
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat"><h4>{SITENAME} {L_DONATION_CANCELLED_TITLE}</h4></td>
</tr>
<tr>
<td class="row1" width="100%">{DONATION_CANCEL}</td>
</tr>
</table>
find:
Code: Select all
<h2>{L_DONATION_TITLE_HEAD} {SITENAME}</h2>
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<!-- IF DONATION_GOAL_ENABLE and DONATION_ACHIEVEMENT_ENABLE and DONATION_GOAL > 0 -->
<div style="background:url('{ROOT_PATH}images/prog_grey.png') repeat-x; background-color: #cccccc; border: 1px solid black; width:100%; margin-top: 2px;"><div style="background:url('{ROOT_PATH}images/prog_green.png') repeat-x;background-color: #008040; color: white; font-weight:bold; max-width:100%; width:{DONATION_GOAL_NUMBER}%; height:24px;"><span style="padding-left:25px; font-size:18px;">{DONATION_GOAL_NUMBER}%</span></div></div>
<!-- ENDIF -->
<!-- IF DONATION_ACHIEVEMENT_ENABLE or DONATION_GOAL_ENABLE -->
<p style="margin-top:10px; font-size:1.5em; text-align:center;"><!-- IF DONATION_ACHIEVEMENT_ENABLE -->{L_WE_HAVE_ACHIEVED} <strong><!-- IF DONATION_ACHIEVEMENT > 0 -->{DONATION_ACHIEVEMENT}<!-- ELSE -->{DONATION_GOAL_NUMBER}<!-- ENDIF --></strong><!-- IF DONATION_GOAL_CURRENCY_ENABLE --> {DONATION_GOAL_CURRENCY}<!-- ENDIF --> {L_WE_HAVE_ACHIEVED_IN}<!-- ENDIF --><!-- IF DONATION_GOAL_ENABLE and DONATION_GOAL > 0 --> {L_OUR_DONATION_GOAL} <strong>{DONATION_GOAL}</strong><!-- IF DONATION_GOAL_CURRENCY_ENABLE --> {DONATION_GOAL_CURRENCY}<!-- ENDIF -->.<!-- ENDIF --></p><hr />
<!-- ENDIF -->
{DONATION_BODY}
<span class="corners-bottom"><span></span></span></div>
</div>
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<div style="text-align:center; padding-top:6px;">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div>
<input type="hidden" name="cmd" value="_donations" />
<input type="hidden" name="business" value="{DONATION_EMAIL}" />
<input type="hidden" name="item_name" value="{L_DONATION_TITLE} {SITENAME}" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="return" value="{U_DONATE_SUCCESS}" />
<input type="hidden" name="cancel_return" value="{U_DONATE_CANCEL}" />
<input type="hidden" name="item_number" value="{S_USERNAME}" />
<input type="hidden" name="tax" value="0" />
<input type="hidden" name="bn" value="PP-DonationsBF" />
<input type="text" name="amount" style="height:17px; font-size:12px;" class="inputbox autowidth" />
<select name="currency_code" id="currency_code">
<option value="USD" selected="selected">{L_DONATION_USD}</option>
<option value="EUR">{L_DONATION_EUR}</option>
<option value="GBP">{L_DONATION_GBP}</option>
<option value="JPY">{L_DONATION_JPY}</option>
<option value="AUD">{L_DONATION_AUD}</option>
<option value="CAD">{L_DONATION_CAD}</option>
<option value="HKD">{L_DONATION_HKD}</option>
</select>
</div>
<fieldset id="contactpaypal" class="submit-buttons" style="margin-top:8px;">
<input type="reset" class="button2" name="reset" value="{L_RESET}" />
<input type="submit" class="button1" name="submit" value="{L_SUBMIT}" onclick="JavaScript:document.getElementById('contactpaypal').style.display='none';document.getElementById('processingpaypal').style.display='block';" />
</fieldset>
<fieldset id="processingpaypal" class="submit-buttons" style="margin-top:8px; display:none;">
<img src="{ROOT_PATH}images/loader.gif" width="16" height="16" alt="" style="margin-bottom:-5px; padding-right:10px;" /> <input type="submit" class="button1" name="submit" value="{L_DONATION_CONTACT_PAYPAL}" />
</fieldset>
</form>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
Code: Select all
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat"><h4>{L_DONATION_TITLE_HEAD} {SITENAME}</h4></td>
</tr>
<!-- IF DONATION_GOAL_ENABLE and DONATION_ACHIEVEMENT_ENABLE and DONATION_GOAL > 0 -->
<tr>
<td class="row1" width="100%"><p class="genmed">
<div style="background:url('{ROOT_PATH}images/prog_grey.png') repeat-x; background-color: #cccccc; border: 1px solid black; width:100%; margin-top: 2px;"><div style="background:url('{ROOT_PATH}images/prog_green.png') repeat-x;background-color: #008040; color: white; font-weight:bold; max-width:100%; width:{DONATION_GOAL_NUMBER}%; height:24px;"><span style="padding-left:25px; font-size:18px;">{DONATION_GOAL_NUMBER}%</span></div></div>
<!-- ENDIF -->
<p style="margin-top:10px; font-size:1.5em; text-align:center;"><!-- IF DONATION_ACHIEVEMENT_ENABLE -->{L_WE_HAVE_ACHIEVED} <strong><!-- IF DONATION_ACHIEVEMENT > 0 -->{DONATION_ACHIEVEMENT}<!-- ELSE -->{DONATION_GOAL_NUMBER}<!-- ENDIF --></strong><!-- IF DONATION_GOAL_CURRENCY_ENABLE --> {DONATION_GOAL_CURRENCY}<!-- ENDIF --> {L_WE_HAVE_ACHIEVED_IN}<!-- ENDIF --><!-- IF DONATION_GOAL_ENABLE and DONATION_GOAL > 0 --> {L_OUR_DONATION_GOAL} <strong>{DONATION_GOAL}</strong><!-- IF DONATION_GOAL_CURRENCY_ENABLE --> {DONATION_GOAL_CURRENCY}<!-- ENDIF -->.<!-- ENDIF --></p>
</td>
</tr>
<tr>
<td class="row1" width="100%">{DONATION_BODY}</td>
</tr>
<tr>
<td class="row1" width="100%" align="center">
<form action="https://www.paypal.com/cgi-bin/webscr" method="POST" style="padding: 0">
<div>
<input type="hidden" name="cmd" value="_donations" />
<input type="hidden" name="business" value="{DONATION_EMAIL}" />
<input type="hidden" name="item_name" value="{L_DONATION_TITLE} {SITENAME}" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="return" value="{U_DONATE_SUCCESS}" />
<input type="hidden" name="cancel_return" value="{U_DONATE_CANCEL}" />
<input type="hidden" name="item_number" value="{S_USERNAME}" />
<input type="hidden" name="tax" value="0" />
<input type="hidden" name="bn" value="PP-DonationsBF" />
<input type="text" name="amount" style="height:17px; font-size:12px;" class="inputbox autowidth" />
<select name="currency_code" id="currency_code">
<option value="USD" selected="selected">{L_DONATION_USD}</option>
<option value="EUR">{L_DONATION_EUR}</option>
<option value="GBP">{L_DONATION_GBP}</option>
<option value="JPY">{L_DONATION_JPY}</option>
<option value="AUD">{L_DONATION_AUD}</option>
<option value="CAD">{L_DONATION_CAD}</option>
<option value="HKD">{L_DONATION_HKD}</option>
</select>
</div>
<fieldset id="contactpaypal" class="submit-buttons" style="margin-top:8px; border:none;">
<input type="reset" class="button2" name="reset" value="{L_RESET}" />
<input type="submit" class="button1" name="submit" value="{L_SUBMIT}" onclick="JavaScript:document.getElementById('contactpaypal').style.display='none';document.getElementById('processingpaypal').style.display='block';" />
</fieldset>
<fieldset id="processingpaypal" class="submit-buttons" style="margin-top:8px; display:none; border:none;">
<img src="{ROOT_PATH}images/loader.gif" width="16" height="16" alt="" style="margin-bottom:-5px; padding-right:10px;" /> <input type="submit" class="button1" name="submit" value="{L_DONATION_CONTACT_PAYPAL}" />
</fieldset>
</form>
</td>
</tr>
</table>
find:
Code: Select all
<h2>{SITENAME} {L_DONATION_SUCCESSFULL_TITLE}</h2>
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
{DONATION_SUCCESS}
<span class="corners-bottom"><span></span></span></div>
</div>
Code: Select all
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat"><h4>{SITENAME} {L_DONATION_SUCCESSFULL_TITLE}</h4></td>
</tr>
<tr>
<td class="row1" width="100%">{DONATION_SUCCESS}</td>
</tr>
</table>
open: styles/subsilver2/templates/index_body.html
find:
Code: Select all
</td>
</tr><!-- ENDIF -->
</table>
Code: Select all
<p style="text-align:center;"><marquee>{DONATION_FROM}</marquee></p>