Skip to content

Commit

Permalink
updated Flat Theme to version 0.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
webbird committed Jul 6, 2015
1 parent b153488 commit 83a6610
Show file tree
Hide file tree
Showing 13 changed files with 169 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@

<div class="togglebox-content">

<h2>WB Information Center</h2>
<h2>WBCE Information Center</h2>

<div class="dynamicGrid-outer">
<a id="linkbox_manuals" class="linkbox dynamicGrid_3" href="http://www.websitebaker.org/en/help/help-project.php" title="Manuals" target="_blank"><?php echo $TEXT['MANUALS']; ?></a>
<a id="linkbox_community" class="linkbox dynamicGrid_3" href="http://forum.websitebaker.org/" title="Community" target="_blank"><?php echo $TEXT['COMMUNITY']; ?></a>
<a id="linkbox_addons" class="linkbox dynamicGrid_3" href="http://addon.websitebaker.org/" title="AddOns" target="_blank"><?php echo $TEXT['ADDONS']; ?></a>
<a id="linkbox_manuals" class="linkbox dynamicGrid_3" href="http://wbce.org/" title="About WBCE" target="_blank"><?php echo $TEXT['MANUALS']; ?></a>
<a id="linkbox_community" class="linkbox dynamicGrid_3" href="http://wbce.org/forum/" title="Community" target="_blank"><?php echo $TEXT['COMMUNITY']; ?></a>
<a id="linkbox_addons" class="linkbox dynamicGrid_3" href="http://wbce.org/downloads/" title="Downloads for WBCE" target="_blank"><?php echo $TEXT['ADDONS']; ?></a>
</div>


Expand All @@ -77,6 +77,7 @@
<div class="wb_newsfeed">

<?php
/*
// get newsfeed-url based on language
$url = "http://websitebaker.org/index.php?rss=131&lang=EN";
if($_SESSION['LANGUAGE']=="DE") $url = "http://websitebaker.org/index.php?rss=275&lang=DE";
Expand All @@ -101,6 +102,7 @@
echo '<a class="wb_button" style="margin:0 0 12px 0;color:#fff;" href="'.(string)$item->link.'" target="_blank">Read more</a>';
echo '<br/>';
}
*/
?>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,23 @@ body {
/* wb newsfeed in togglebox */
.wb_newsfeed {
padding: 6px;
line-height: 16px;
background: #cbcfd8;
color: #303641;
}

.wb_newsfeed h4 {
line-height: 20px;
margin-bottom: 4px;
}

.wb_newsfeed h4 span {
color: #505b6d;
float: none !important;
margin-left: 10px;
color: #505b6d;
}

.wb_newsfeed a.wb_button {
margin-left: 2px !important;
padding: 0 4px;
}
Binary file modified wb/templates/advancedThemeWbFlat/images/wblogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified wb/templates/advancedThemeWbFlat/images/wblogo_large.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion wb/templates/advancedThemeWbFlat/info.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
$template_directory = 'advancedThemeWbFlat';
$template_name = 'Advanced Theme WB Flat';
$template_function = 'theme';
$template_version = '0.3.2RC';
$template_version = '0.3.6';
$template_platform = '2.8.3';
$template_author = 'Yetiie';
$template_license = '<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License (GPLv3)</a>';
Expand Down
27 changes: 23 additions & 4 deletions wb/templates/advancedThemeWbFlat/jquery_added/jqTemplateActions.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// added code for jQuery


$(document).ready( function() {


Expand Down Expand Up @@ -88,7 +87,7 @@ $(document).ready( function() {



// Specials for separate modul-pages admintools --> remove » from text
// Specials for separate module-pages admintools --> remove » from text
$('td.content > h4').each(function(){

var tb_replacestring = $(this).html();
Expand All @@ -98,7 +97,7 @@ $(document).ready( function() {
}); // ENDE special remove » from text


// Specials for separate modul-pages admintools --> deactivate link in head
// Specials for separate module-pages admintools --> deactivate link in head
// just unbind click-handler for the link (Note: do not remove link, cause css designs link-tag)
$('td.content > h4 a').click(function () {return false;});
// ENDE special deactivate link
Expand Down Expand Up @@ -130,7 +129,7 @@ $(document).ready( function() {



// focus efect for file-input-fields
// focus effect for file-input-fields
// NOTE: based on jQuery NiceFileInput to style this fields
// ad style to button on focus
$('input.NFI-current').focus(function(){
Expand All @@ -140,7 +139,27 @@ $(document).ready( function() {
$('input.NFI-current').blur(function(){
$(this).parent().css('color', '');
});




// show admin version (= version of backend theme)
// call information from separate php-file and show version number
$('#admincheck a').click(function(e){

e.preventDefault(); // deactivate link

// url to load file with admin version to show
var loadUrl = THEME_URL + '/jquery_added/plugins/phpSystemVars/themeVersion.php';

// replace admincheck-link with information from file (admin version)
$(this).css({ opacity: 1 }).animate({opacity: 0}, 'slow');
$("#admincheck").load(loadUrl, function(){
$(this).css({ opacity: 0 }).animate({opacity: 1}, 'slow');
});
});




}); // ENDE document.ready
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php
/**
* Website Baker Theme
* Just file for output version number of admin theme
*
* NOTE:
* As it is not possible to include php to the backend theme
* the version number can not directly be included to the theme
* --> include the output of this file to the theme by jq
*
*
* Part off: Website Baker theme advanced Theme WB Flat
* More information see: info.php in main theme folder
*/




if (!defined('WB_PATH')) {
// include wb system data/functions
include('../../../../../config.php');
}
// --- check if logged in
$bLoggedIn = (isset($_SESSION['USER_ID']) && is_numeric($_SESSION['USER_ID']));

// go on only forward if logged in
if ($bLoggedIn) {





// ### get template information file with info vars
include('../../../info.php');

// ### output version number of admin theme
echo 'Admin version: ' . $template_version;

// ###
// ### --> to include the output to the theme use jQuery
// ###########################################################

}

?>
4 changes: 2 additions & 2 deletions wb/templates/advancedThemeWbFlat/languages/DE.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@


// Texts for Informationcenter (if needed)
$TEXT['MANUALS'] = 'Hanb&uuml;cher';
$TEXT['MANUALS'] = 'Manuals';
$TEXT['COMMUNITY'] = 'Community';
$TEXT['ADDONS'] = 'Manuals';
$TEXT['ADDONS'] = 'Add Ons';

Empty file.
15 changes: 6 additions & 9 deletions wb/templates/advancedThemeWbFlat/templates/footer.htt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
<tr>
<td style="font-size:12px;text-align:center;">
<!-- Please note: the below reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->
<a href="http://www.websitebaker.org/" title="external">WebsiteBaker</a> is released under the
<a href="http://www.gnu.org/licenses/gpl.html" title="WebsiteBaker is released under the GNU General Public License">GNU General Public License</a>
<a href="http://www.wbce.org/" title="external">WebsiteBaker CE</a> is released under the
<a href="http://www.gnu.org/licenses/gpl.html" title="WebsiteBaker is released under the GNU General Public License">GNU General Public License</a><br />
<span style="font-size:xx-small">WBCE is a fork of <a href="http://www.websitebaker.org/" title="external">WebsiteBaker</a></span>
<!-- Please note: the above reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->
</td>
</tr>
Expand All @@ -24,13 +25,6 @@

</div><!-- ENDE contentarea -->









</div><!-- ENDE mainarea -->

Expand Down Expand Up @@ -77,6 +71,9 @@


{BACKEND_BODY_MODULE_JS}



</body>
</html>
<!-- END footer_block -->
6 changes: 4 additions & 2 deletions wb/templates/advancedThemeWbFlat/templates/header.htt
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function confirm_link(message, url) {
<div id="headerarea" class="clearfix">

<div id="branding">
<div id="branding-text">WebsiteBaker</div>
<div id="branding-text">WebsiteBaker CE</div>
<div id="branding-logo"></div>
</div>

Expand Down Expand Up @@ -163,7 +163,9 @@ function confirm_link(message, url) {
<div id="systeminfo" class="stickySidebarElement">
<span class="version">CMS Version {VERSION} {SP}</span><br/>
<span class="version">Revision {REVISION}</span><br/>
<span class="version">Admin version 1.6</span>
<span id="admincheck" class="version" "><a href="#">Admin</a><span class="theme-version-number"></span></span>


</div>

<div id="sidebararea_togglebutton"></div>
Expand Down
2 changes: 0 additions & 2 deletions wb/templates/advancedThemeWbFlat/templates/pages_modify.htt
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@

</div><!-- ENDE edit_pages_head -->




</div><!-- ENDE page_modify_page -->

Expand Down
Loading

0 comments on commit 83a6610

Please sign in to comment.