Skip to content

Commit

Permalink
add template
Browse files Browse the repository at this point in the history
  • Loading branch information
TomCafferty committed Nov 24, 2013
1 parent 76556c8 commit c4622ee
Show file tree
Hide file tree
Showing 79 changed files with 2,811 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ function geonav_hookjs(&$event, $param) {
global $conf;
$basePath = DOKU_BASE;
$basePath = str_replace("dokuwiki/", "", $basePath);
$sidebar_ID = "earth_map";
if ((($conf['template'] == "sidemap") || ($conf['template'] == "sidemap")) && (p_get_metadata($sidebar_ID, 'plugin geonav'))) {
$sidebar_ID = "sidemap";
if (p_get_metadata($sidebar_ID, 'plugin geonav')) {
$event->data['script'][] = array(
'type' => 'text/javascript',
'charset' => 'utf-8',
Expand Down
339 changes: 339 additions & 0 deletions tpl/startermap/COPYING

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions tpl/startermap/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
See template.info.txt for main info
See COPYING for license info
9 changes: 9 additions & 0 deletions tpl/startermap/conf/default.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
/*
* default configuration settings
*
*/

$conf['discussionPage'] = 'discussion:@ID@';
$conf['userPage'] = 'user:@USER@:';
$conf['hideTools'] = 0;
9 changes: 9 additions & 0 deletions tpl/startermap/conf/metadata.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
/*
* configuration metadata
*
*/

$meta['discussionPage'] = array('string');
$meta['userPage'] = array('string');
$meta['hideTools'] = array('onoff');
Loading

0 comments on commit c4622ee

Please sign in to comment.