Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wiki Integration
03-04-2012, 07:18 PM
Post: #3
RE: Wiki Integration
It is in a file

includes/MiscFunctions.php

Code:
function wikiLink($type, $id) {

    if ($_SESSION['WikiApp']==_('WackoWiki')){
        echo '<a target="_blank" href="../' . $_SESSION['WikiPath'] . '/' . $type .  $id . '">' . _('Wiki ' . $type . ' Knowlege Base') . '</a><br />';
    } elseif ($_SESSION['WikiApp']==_('MediaWiki')){
        echo '<a target="_blank" href="../' . $_SESSION['WikiPath'] . '/index.php/' . $type . '/' .  $id . '">' . _('Wiki ' . $type . ' Knowlege Base') . '</a><br />';
    } elseif ($_SESSION['WikiApp']==_('DokuWiki')){
        echo ' ../' . $_SESSION['WikiPath'] . '/doku.php?id=' . $type . ':' . $id . ' ' . _('Wiki ' . $type . ' Knowlege Base') . ' <br />';
    }

}//wikiLink

HTH

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Wiki Integration - pmaxx - 03-02-2012, 04:56 AM
RE: Wiki Integration - opto - 03-02-2012, 11:54 PM
RE: Wiki Integration - phil - 03-04-2012 07:18 PM
RE: Wiki Integration - ClayL - 02-13-2013, 09:52 AM
RE: Wiki Integration - phil - 02-13-2013, 10:27 AM
RE: Wiki Integration - ClayL - 02-13-2013, 12:24 PM
RE: Wiki Integration - HectorLaraG - 03-07-2013, 06:31 AM
RE: Wiki Integration - phil - 03-07-2013, 06:49 AM
RE: Wiki Integration - HectorLaraG - 03-07-2013, 07:04 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)