Source for file tpl_workshop.php
Documentation is available at tpl_workshop.php
* @author linea21 <info@linea21.com>
* @license http://opensource.org/licenses/gpl-3.0.html
$GLOBALS['filters'][LANGUAGE]['theme']['active'] = 1; // filter activation
$GLOBALS['filters'][LANGUAGE]['level']['active'] = 1; // filter activation
/* Post Values instances */
$filter= isset ($_REQUEST['filter']) ? $_REQUEST['filter'] : '';
$debut= isset ($_REQUEST['debut']) ? $_REQUEST['debut'] : 0;
$workshop_id= isset ($_REQUEST['id']) ? $_REQUEST['id'] : '';
$body= isset ($_REQUEST['body']) ? $_REQUEST['body'] : '';
$title= isset ($_REQUEST['title']) ? $_REQUEST['title'] : '';
// case for test integrity for update a post or add a topic
$confirm= isset ($_REQUEST['confirm']) ? $_REQUEST['confirm'] : '';
$topic_id= $_REQUEST['id'];
$workshop_id= $_REQUEST['parentid'];
$topic_id= $_REQUEST['parentparentid'];
$workshop_id= $_REQUEST['parentid'];
$post_id= $_REQUEST['id'];
if (!isset ($_REQUEST['id']) || isset ($_REQUEST['filter']))
echo "<h1>". _t('workshop','h1_public'). "</h1>";
echo "<div class=\"h1_comment\" id=\"h1_workshop\">". _t('workshop','h1_public_comment'). "</div>";
$workshop_name = formatText($result[0]['workshop_denomination'], '2HTML');
<!-- end workgroup data -->
<?php if ($is_authenticated){?>
<div class=" <?php echo ActiveItemKey($GLOBALS['activeitem']); ?>"> <?php
echo "<h2>". _t('workshop','com'). "</h2>";
echo "<h2>". _t('workshop','com'). "</h2>";
echo "<h2>". _t('workshop','com'). "</h2>";
AddTopic($workshop_id, $debut, $body, $title, $confirm);
echo "<h2>". _t('workshop','com'). "</h2>";
AddPost($workshop_id, $topic_id, $debut, $body, $title);
echo "<h2>". _t('workshop','com'). "</h2>";
UpdatePost($workshop_id, $topic_id, $debut, $body, $title, $post_id, $confirm);
echo "<h2>". _t('workshop','participant'). "</h2>";
echo "<h2>". _t('workshop','report'). "</h2>";
case "subscribe-workgroup":
echo "<h2>". _t('workshop','creainscription'). "</h2>";
echo "<h2>". _t('workshop','calendar'). "</h2>";
|