fclose Q2A theme
Posted on In QACan I get the fclose Q2A theme used here?
I’d like to share it but I also want to keep my site a little bit unique.
What about this: you can get the css and qa-theme.php files, but need to find or design your own icons for the site (I believe some icons from other themes are great).
Table of Contents
fclose Q2A theme
qa-styles.css
Download qa-styles
qa-theme.php
<?php
/*
Question2Answer (c) Gideon Greenspan
http://www.question2answer.org/
File: qa-theme/Snow/qa-theme.php
Version: See define()s at top of qa-include/qa-base.php
Description: Override some theme functions for Snow theme
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
More about this license: http://www.question2answer.org/license.php
*/
class qa_html_theme extends qa_html_theme_base
{
function body_content()
{
$this->body_prefix();
$this->notices();
$this->output('<div class="qa-body-wrapper">', '');
$this->widgets('full', 'top');
$this->header();
$this->widgets('full', 'high');
echo '<div class="qa-main-bg">';
$this->sidepanel();
$this->main();
echo '</div>';
$this->widgets('full', 'low');
$this->footer();
$this->widgets('full', 'bottom');
$this->output('</div> <!-- END body-wrapper -->');
$this->body_suffix();
}
function attribution()
{
$this->output(
'<div class="qa-attribution">
Powered by <a rel="nofollow" href="http://www.question2answer.org/">Question2Answer</a>
</div>'
);
// qa_html_theme_base::attribution();
}
}
/*
Omit PHP closing tag to help avoid accidental output
*/
Icons
DIY.