Ejemplo n.º 1
0
     if ($mode == 'edit') {
         // ------------------------------------------ START: MODULE EDITIEREN/ADDEN ETC.
         echo '
               <!-- *** OUTPUT OF ARTICLE-CONTENT-EDIT-MODE - START *** -->
               <div class="rex-content-editmode">
               ';
         $CONT = new rex_article_editor();
         $CONT->getContentAsQuery();
         $CONT->info = $info;
         $CONT->warning = $warning;
         $CONT->template_attributes = $template_attributes;
         $CONT->setArticleId($article_id);
         $CONT->setSliceId($slice_id);
         $CONT->setMode($mode);
         $CONT->setCLang($clang);
         $CONT->setEval(TRUE);
         $CONT->setSliceRevision($slice_revision);
         $CONT->setFunction($function);
         echo $CONT->getArticle($ctype);
         echo '
               </div>
               <!-- *** OUTPUT OF ARTICLE-CONTENT-EDIT-MODE - END *** -->
               ';
         // ------------------------------------------ END: MODULE EDITIEREN/ADDEN ETC.
     } elseif ($mode == 'meta') {
         // ------------------------------------------ START: META VIEW
         echo '
 	  <div class="rex-form" id="rex-form-content-metamode">
       <form action="index.php" method="post" enctype="multipart/form-data" id="REX_FORM">
       	<div class="rex-form-section">
         <fieldset class="rex-form-col-1">
Ejemplo n.º 2
0
 if ($mode == 'edit') {
     // ------------------------------------------ START: MODULE EDITIEREN/ADDEN ETC.
     echo '
                             <!-- *** OUTPUT OF ARTICLE-CONTENT-EDIT-MODE - START *** -->
                             <div class="rex-content-editmode">
                             ';
     $CONT = new rex_article_editor();
     $CONT->getContentAsQuery();
     $CONT->info = $info;
     $CONT->warning = $warning;
     $CONT->template_attributes = $template_attributes;
     $CONT->setArticleId($article_id);
     $CONT->setSliceId($slice_id);
     $CONT->setMode($mode);
     $CONT->setCLang($clang);
     $CONT->setEval(true);
     $CONT->setSliceRevision($slice_revision);
     $CONT->setFunction($function);
     echo $CONT->getArticle($ctype);
     echo '
                             </div>
                             <!-- *** OUTPUT OF ARTICLE-CONTENT-EDIT-MODE - END *** -->
                             ';
     // ------------------------------------------ END: MODULE EDITIEREN/ADDEN ETC.
 } elseif ($mode == 'meta') {
     // ------------------------------------------ START: META VIEW
     echo '
         <div class="rex-form" id="rex-form-content-metamode">
             <form action="index.php" method="post" enctype="multipart/form-data" id="REX_FORM">
                 <div class="rex-form-section">
                 <fieldset class="rex-form-col-1">