The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Include loadtab.php in Core
#12
n00dles101 Wrote:Hi leenm,
we have added loadtab.php to the SVN.
That's even better, but how do I create a sidemenu for my plugin then? The createSideMenu function isn't sufficient:
Code:
unction createSideMenu($id,$txt){
    $class=null;
  if (isset($_GET['id']) && $_GET['id'] == $id) {
        $class='class="current"';
    }
    echo '<li><a href="load.php?id='.$id.'" '.$class.' >'.$txt.'</a></li>';
}
It always uses load.php. Also my point in http://get-simple.info/forum/topic/2852/...oadtabphp/ still stands then.

I'd like to have this function working properly. I'm willing to propose improvements, but not if this is working already of course. Maybe I'm not understanding how to use the loadtab functionality with a sidemenu properly?
Reply


Messages In This Thread
Include loadtab.php in Core - by mvlcek - 2011-09-07, 23:31:47
Include loadtab.php in Core - by ccagle8 - 2011-09-07, 23:43:32
Include loadtab.php in Core - by mvlcek - 2011-09-08, 00:15:55
Include loadtab.php in Core - by ccagle8 - 2011-09-08, 03:09:02
Include loadtab.php in Core - by mvlcek - 2011-09-08, 05:28:18
Include loadtab.php in Core - by mvlcek - 2011-09-08, 06:06:03
Include loadtab.php in Core - by mvlcek - 2011-10-11, 23:38:48
Include loadtab.php in Core - by ccagle8 - 2011-10-12, 22:34:10
Include loadtab.php in Core - by mvlcek - 2011-10-12, 22:43:23
Include loadtab.php in Core - by leenm - 2011-11-13, 05:18:48
Include loadtab.php in Core - by n00dles101 - 2011-11-13, 05:57:40
Include loadtab.php in Core - by leenm - 2011-11-13, 06:10:29
Include loadtab.php in Core - by mvlcek - 2011-11-13, 06:27:34
Include loadtab.php in Core - by leenm - 2011-11-13, 06:39:56
Include loadtab.php in Core - by n00dles101 - 2011-11-13, 07:14:42
Include loadtab.php in Core - by mvlcek - 2011-11-13, 07:30:30
Include loadtab.php in Core - by n00dles101 - 2011-12-06, 19:52:37
Include loadtab.php in Core - by mvlcek - 2012-01-23, 18:06:55
Include loadtab.php in Core - by leenm - 2012-01-24, 09:41:02
Include loadtab.php in Core - by n00dles101 - 2012-01-25, 01:53:20



Users browsing this thread: 2 Guest(s)