add splashscreen for paypal

This commit is contained in:
Uwe Steinmann 2017-08-01 09:35:05 +02:00
parent f8841e670e
commit ddddb4fb74
3 changed files with 64 additions and 2 deletions

View File

@ -228,6 +228,21 @@ ul.qq-upload-list li span {
display: none;
}
#splashScreen img{
margin:0 auto;
}
#splashScreen{
position:absolute;
top:0px;
left:0;
height:100%;
width:100%;
background: url(../img/kachel.png);
background-repeat:no-repeat;
text-align:center;
}
@media (min-width: 1200px) {
.modal-wide {
width: 800px;

View File

@ -219,8 +219,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
function footNote() { /* {{{ */
echo "<div class=\"container-fluid\">\n";
echo '<div class="row-fluid">'."\n";
echo '<div class="span12">'."\n";
echo '<div class="row-fluid" style="padding-top: 20px;">'."\n";
echo '<div class="span6">'."\n";
echo '<div class="alert alert-info">'."\n";
if ($this->params['printdisclaimer']){
echo "<div class=\"disclaimer\">".getMLText("disclaimer")."</div>";
@ -229,6 +229,24 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
if (isset($this->params['footnote']) && strlen((string)$this->params['footnote'])>0) {
echo "<div class=\"footNote\">".(string)$this->params['footnote']."</div>";
}
echo "</div>\n";
echo "</div>\n";
echo '<div class="span6">'."\n";
echo '<div class="alert alert-error">'."\n";
?>
Please help to improve SeedDMS! All donations are spend on developing SeedDMS.
<form style="display: inline-block;" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="uwe@steinmann.cx">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Development of SeedDMS">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHostedGuest">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<?php
echo "</div>\n";
echo "</div>\n";
echo "</div>\n";

View File

@ -246,6 +246,8 @@ $('#loadmore').click(function(e) {
$this->htmlAddHeader('<script type="text/javascript" src="../styles/'.$this->theme.'/bootbox/bootbox.min.js"></script>'."\n", 'js');
$this->htmlAddHeader('<script type="text/javascript" src="../styles/'.$this->theme.'/splashscreen/jquery.splashscreen.js"></script>'."\n", 'js');
$this->htmlAddHeader('<script type="text/javascript" src="../styles/'.$this->theme.'/splashscreen/splashscreen.js"></script>'."\n", 'js');
echo $this->callHook('startPage');
$this->htmlStartPage(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName()))));
@ -263,6 +265,33 @@ $('#loadmore').click(function(e) {
echo $this->callHook('preContent');
?>
<div style="display: none;" class="splashscreen" data-top="222" data-height="70" data-left="54" data-width="296" data-img="../views/bootstrap/images/empty.png" data-link="index.php?id=236" data-target="body">
<div style="color: #444;">
<h2>Please support SeedDMS development</h2>
<p style="margin-bottom: 20px;">
Before you continue, think about supporting SeedDMS. Running this demo,
steadily developing the software, and giving support takes time and money. If you feel
like SeedDMS makes your live easier, then please help us to keep up the work.
<p>
<p style="margin-bottom: 20px;">
You may also contact us for a personalized demo, exclusively used by yourself
and setup to fit your needs. Contact us at <a href="mailto:info@seeddms.org">info@seeddms.org</a>.
<p>
<form style="display: inline-block;" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="uwe@steinmann.cx">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Development of SeedDMS">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHostedGuest">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
</div>
</div>
<?php
echo "<div class=\"row-fluid\">\n";
// dynamic columns - left column removed if no content and right column then fills span12.