liquid_feedback_frontend

changeset 88:dca6a57b0779

Added optional html footer (defined by config.footer_html)
author bsw
date Thu Aug 05 11:54:50 2010 +0200 (2010-08-05)
parents 3b579ac60f24
children d68d16371b88
files app/main/_filter_view/34_stylesheet.lua app/main/_layout/default.html config/default.lua
line diff
     1.1 --- a/app/main/_filter_view/34_stylesheet.lua	Thu Jul 29 12:39:08 2010 +0200
     1.2 +++ b/app/main/_filter_view/34_stylesheet.lua	Thu Aug 05 11:54:50 2010 +0200
     1.3 @@ -53,3 +53,7 @@
     1.4  else
     1.5    execute.inner()
     1.6  end
     1.7 +
     1.8 +if config.footer_html then 
     1.9 +  slot.put_into("footer", config.footer_html)
    1.10 +end
    1.11 \ No newline at end of file
     2.1 --- a/app/main/_layout/default.html	Thu Jul 29 12:39:08 2010 +0200
     2.2 +++ b/app/main/_layout/default.html	Thu Aug 05 11:54:50 2010 +0200
     2.3 @@ -66,6 +66,9 @@
     2.4      <div class="main" id="default">
     2.5        <!-- WEBMCP SLOT default -->
     2.6      </div>
     2.7 +    <div class="footer" id="footer">
     2.8 +      <!-- WEBMCP SLOT footer -->
     2.9 +    </div>
    2.10      <div class="layout_trace" id="layout_trace" style="xdisplay: none">
    2.11        <div id="trace_show" onclick="document.getElementById('trace_content').style.display='block';this.style.display='none';">TRACE</div>
    2.12          <div id="trace_content" style="display: none;">
     3.1 --- a/config/default.lua	Thu Jul 29 12:39:08 2010 +0200
     3.2 +++ b/config/default.lua	Thu Aug 05 11:54:50 2010 +0200
     3.3 @@ -7,6 +7,8 @@
     3.4  
     3.5  config.app_service_provider = "Snake Oil<br/>10000 Berlin<br/>Germany"
     3.6  
     3.7 +--config.footer_html = '<a href="somewhere">some link</a>'
     3.8 +
     3.9  config.use_terms = "=== Nutzungsbedingungen ===\nAlles ist verboten"
    3.10  --config.use_terms_html = ""
    3.11  

Impressum / About Us