Skip to content

Commit

Permalink
Updated comments; better handling of ':'s in namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBertie committed Jan 7, 2012
1 parent 0c179e5 commit 5b3200d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conf/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
$conf['userPage'] = 'user:@USER@:';
$conf['sidebarID'] = 'sidebar';
$conf['hideTools'] = 0;
$conf['nsWidth'] = 'drafts 100% 22em';
$conf['nsWidth'] = 'drafts 100% 26em;notes 100% 26em';
30 changes: 30 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/**
* Javascript for Taratasy template
* For future use!
*
* @author Symon Bent <hendrybadao@gmail.com>
*
*/

var tpl_taratasy = (function() {

// public methods/properties
var pub = {};

// private vars


/**
* initialize everything
*/
pub.init = function() {

};

// return only public methods/properties
return pub;
})();

jQuery(function() {
tpl_taratasy.init();
});
7 changes: 4 additions & 3 deletions tpl_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function _tpl_include($fn) {


/**
* Use the sidebar page from current namespace if available, if not use the global
* Use the sidebar page from current namespace if available, if not use the global one
*
* @author Symon Bent hendrybadao@gmail.com
*/
Expand All @@ -214,9 +214,10 @@ function _tpl_sidebar() {

/**
* Custom styles to allow different site/sidebar widths per namespace
* Set in template configuration (nsWidth)
* Set in template's configuration (nsWidth)
* Syntax: "<namespace> <site-width> <sidebar-width>;<namespace-2> <site-width-2> <sidebar-width-2>"
* (semicolons between namespaces sections, spaces within a section)
* (semicolons between namespaces sections, spaces within a section)
* @author Symon Bent hendrybadao@gmail.com
*/
function _tpl_ns_styles() {
global $INFO;
Expand Down

0 comments on commit 5b3200d

Please sign in to comment.