Skip to content
Permalink
Browse files

synchronized lib2->lib1 template framwork and updated paypal buttons

  • Loading branch information...
following5 committed Mar 2, 2016
1 parent 5c52faf commit cb415538b15a4d5072c32a9deeca39aa14c6692d
@@ -29,7 +29,7 @@
// sponsor link on e.g. print preview and garmin-plugin
$opt['page']['sponsor']['popup'] = '';
$opt['page']['sponsor']['bottom'] = 'Driven by the Opencaching Community';
$opt['page']['sponsor']['bottom'] = 'Driven by the Opencaching community';
$opt['page']['showdonations'] = false; // Show donations button
$opt['page']['showsocialmedia'] = false;
@@ -258,7 +258,7 @@ function flashbutton(bname)
<p class="sidebar-maintitle">{t}Donations{/t}</p>
<div style="margin-top:16px;width:100%;text-align:center;">
<a href="articles.php?page=donations">
<img src="https://www.paypal.com/de_DE/DE/i/btn/btn_donateCC_LG.gif" alt="{t}Donations{/t}" style="border:0px;" />
<img src="resource2/ocstyle/images/misc/donate.gif" alt="{t}Donations{/t}" style="border:0px;" />
</a><br />
&nbsp;
</div>
@@ -462,12 +462,11 @@ function tpl_BuildTemplate($dbdisconnect=true)
else
$ltext = $opt['locale']['EN']['page']['license'];
$ld = '<p class="sidebar-maintitle">' .
$translate->t('Datalicense', '', '', 0) .
'</p>' .
'<div style="margin:20px 0 16px 0; width:100%; text-align:center;">' .
mb_ereg_replace('%1', $lurl, $ltext) .
'</div>';
$ltext = mb_ereg_replace('%1', $lurl, $ltext);
$ltext = mb_ereg_replace('{site}', $opt['page']['sitename'], $ltext);
$ld = '<p class="sidebar-maintitle">' . $translate->t('Datalicense', '', '', 0) . '</p>' .
'<div style="margin:20px 0 16px 0; width:100%; text-align:center;">' .$ltext. '</div>';
tpl_set_var('license_disclaimer', $ld);
}
else
@@ -122,7 +122,7 @@
$opt['template']['locales']['DA']['show'] = false;
$opt['template']['locales']['JA']['show'] = false;
$opt['template']['locales']['NL']['show'] = false;
$opt['template']['locales']['NL']['show'] = true;
$opt['template']['locales']['PL']['show'] = false;
$opt['template']['locales']['PT']['show'] = false;
$opt['template']['locales']['RU']['show'] = false;
@@ -31,10 +31,7 @@
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="EP7T62APWTCU6" />
<input type="image" src="https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="Mit PayPal bezahlen" />

<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1" />

<input type="image" src="resource2/{$opt.template.style}/images/misc/donate.gif" border="0" name="submit" alt="Mit PayPal bezahlen" />
</form>
</div>
</p></p>
@@ -27,10 +27,7 @@
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="EP7T62APWTCU6" />
<input type="image" src="https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="Donate by PayPal" />

<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1" />

<input type="image" src="resource2/{$opt.template.style}/images/misc/donate.gif" border="0" name="submit" alt="Pay with PayPal" />
</form>
</div>
</p></p>

0 comments on commit cb41553

Please sign in to comment.
You can’t perform that action at this time.