Example #1
0
 /**
  * @todo lang and template classes are used!
  */
 public static function _spoiler($action, $attributes, $content, $params, &$node_object)
 {
     if ($action == 'validate') {
         return true;
     } else {
         return $content;
         $lang = new Lang('other');
         $tpl = new Template('bbcode_spoiler', $lang, 4);
         $tpl->setParams(array('CONTENT' => $content));
         return $tpl->getPart(0, true);
     }
 }
Example #2
0
        <link rel="stylesheet" href="doc-style.css">
        <link rel="stylesheet" href="skins/<?php 
    print $setUp->getConfig('skin');
    ?>
">
        <link rel="stylesheet" href="css/font-awesome.min.css">
        <script src="js/jquery-1.11.1.min.js"></script>
        <!--[if lt IE 9]>
        <script src="js/html5.js" type="text/javascript"></script>
        <script src="js/respond.min.js" type="text/javascript"></script>
        <![endif]-->
    </head>
    <body>

    <?php 
    $template->getPart('userpanel', '');
    $template->getPart('header', '');
    ?>

    <div class="container">
        <div id="error">
                <?php 
    if ($error) {
        print "<div class=\"response nope\">" . $encodeExplorer->getString('wrong_pass') . "</div>";
    }
    if ($captchaerror) {
        print "<div class=\"response nope\">" . $encodeExplorer->getString('wrong_captcha') . "</div>";
    }
    ?>
        </div>
        <section class="docblock">