Example #1
0
 * URL must not contain any form of 'nofollow' attribute.
 *
 * Display of Attribution Information is required in Larger Works which are
 * defined in the CPAL as a work which combines Covered Code or portions
 * thereof with code not governed by the terms of the CPAL.
 *******************************************************************************/
global $sTemplate, $sUser, $sDB, $sPacket, $sPage;
$page = "";
$language = $sTemplate->getLangBase();
include $sTemplate->getTemplateRootAbs() . "header.php";
?>

<div id = "content_wide">
  <div class = "thin">
<?php 
drawQuestionBoxExtended($sPage->getQuestion(), $sPage->getView(), $sPage->basePath());
?>

    <form action = "" method = "POST" id = "edit_argument">
      <div class = "new_argument">
        <div class = "row">
          <div class = "label"><?php 
echo $sTemplate->getString("NEW_ARGUMENT_HEADLINE");
?>
</div>
          <div class = "input">
            <textarea id = "new_argument_headline" name = "new_argument_headline" maxlength="<?php 
echo MAX_ARGUMENT_HEADLINE_CHR_LENGTH;
?>
 "><?php 
echo $sPage->argument()->headlinePlain();
Example #2
0
 *
 * Display of Attribution Information is required in Larger Works which are
 * defined in the CPAL as a work which combines Covered Code or portions
 * thereof with code not governed by the terms of the CPAL.
 *******************************************************************************/
global $sTemplate, $sUser, $sDB, $sPacket, $sPage;
$page = "";
$language = $sTemplate->getLangBase();
include $sTemplate->getTemplateRootAbs() . "header.php";
?>

<div id = "content_wide">
  <div class = "thin">
<?php 
$details = $sPage->getView() == VIEW_DETAILS ? true : false;
drawQuestionBoxExtended($sPage->getQuestion(), $sPage->getView(), $sPage->basePath(), false, $details);
if ($sPage->getView() == VIEW_DISCUSSION) {
    drawQuestionDistribution($sPage->getQuestion());
}
?>
  </div>

<?php 
if ($sPage->getView() == VIEW_DISCUSSION) {
    drawArgumentList($sPage->getQuestion(), $sPage->basePath());
}
?>

</div>

<?php