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
include_once(themePath('../workshop/display.php'));
$GLOBALS['filters'][U_L]['theme']['active'] = 1; // filter activation
$GLOBALS['filters'][U_L]['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=\"sub-title\">". _t('workshop','h1_public_comment'). "</div>";
$workshop_name = formatText($result[0]['workshop_denomination'], '2HTML');
setBreadcrumb(array($workshop_name => HrefMaker(array('rub'=> $GLOBALS['links'][U_L]['workgroup']['linkvalue'], 'id'=> $_REQUEST['id']))));
<!-- end workgroup data -->
<div class="internal-nav">
<?php if ($is_authenticated) {?>
<?php if ($is_authenticated){?>
<div class="internal-content <?php echo ActiveItemKey($GLOBALS['activeitem']); ?>"> <?php
echo "<h2>". _t('workshop','com'). "</h2>";
echo "<h2>". _t('workshop','com'). "</h2>";
echo '<h2>'. _t('workshop','shared_files'). '</h2>'. END_LINE;
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>";
echo '<div id="reports-archived">'. END_LINE;
echo "<h2>". _t('workshop','archived_report'). "</h2>";
echo "<h2>". _t('workshop','calendar'). "</h2>";
<br style="clear: both" />
|