[ Index ]

PHP Cross Reference of phpwcms V1.4.3 _r380 (23.11.09)

title

Body

[close]

/include/inc_tmpl/ -> articlecontent.edit.tmpl.php (source)

   1  <?php
   2  /*************************************************************************************
   3     Copyright notice
   4     
   5     (c) 2002-2009 Oliver Georgi (oliver@phpwcms.de) // All rights reserved.
   6   
   7     This script is part of PHPWCMS. The PHPWCMS web content management system is
   8     free software; you can redistribute it and/or modify it under the terms of
   9     the GNU General Public License as published by the Free Software Foundation;
  10     either version 2 of the License, or (at your option) any later version.
  11    
  12     The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html
  13     A copy is found in the textfile GPL.txt and important notices to the license 
  14     from the author is found in LICENSE.txt distributed with these scripts.
  15    
  16     This script is distributed in the hope that it will be useful, but WITHOUT ANY 
  17     WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  18     PARTICULAR PURPOSE.  See the GNU General Public License for more details.
  19   
  20     This copyright notice MUST APPEAR in all copies of the script!
  21  *************************************************************************************/
  22  
  23  // ----------------------------------------------------------------
  24  // obligate check for phpwcms constants
  25  if (!defined('PHPWCMS_ROOT')) {
  26     die("You Cannot Access This Script Directly, Have a Nice Day.");
  27  }
  28  // ----------------------------------------------------------------
  29  
  30  
  31  // OK check article and category informtion
  32  $sql  = 'SELECT DISTINCT * FROM '.DB_PREPEND.'phpwcms_article ar LEFT JOIN '.DB_PREPEND.'phpwcms_articlecat ac ON ';
  33  $sql .= "ar.article_cid=ac.acat_id WHERE ar.article_id='".$content["aid"]."' LIMIT 1";
  34  $content['article'] = _dbQuery($sql);
  35  $content['article'] = isset($content['article'][0]) ? $content['article'][0] : array('article_title' => '', 'acat_name' => '', 'acat_template'=>1);
  36  
  37  if(empty($content['article']['acat_id'])) { // Root structure
  38  
  39      $content['article']['acat_name']        = $indexpage['acat_name'];
  40      $content['article']['acat_id']            = 0;
  41      $content['article']['acat_template']    = $indexpage['acat_template'];
  42  
  43  }
  44  
  45  //dumpVar($content['article']);
  46  
  47  ?>
  48  
  49  <form action="phpwcms.php?do=articles&amp;p=2&amp;s=1&amp;aktion=2&amp;id=<?php echo $content["aid"]."&amp;acid=".$content["id"] ?>" method="post" name="articlecontent" id="articlecontent" <?php 
  50              
  51      switch($content["type"]) { //Übergeben bestimmter onSubmit JavaScript Aktionen
  52          case  2: echo 'onsubmit="selectAllOptions(this.cimage_list);"';         break;
  53          case 29: echo 'onsubmit="selectAllOptions(this.cimage_list);"';         break;
  54          case 16: echo 'onsubmit="selectAllOptions(this.cimage_list);"';         break;
  55          case 50: echo 'onsubmit="selectAllOptions(this.cimage_list);"';         break;
  56          case  7: echo 'onsubmit="selectAllOptions(this.cfile_list);"';             break;
  57          //case 25: echo 'onsubmit="selectAllOptions(this.cfile_list);"';             break;
  58          case  8: echo 'onsubmit="selectAllOptions(this.calink);"';                 break;
  59          case 53: echo 'onsubmit="selectAllOptions(this.cforum_selection);"';     break;
  60          
  61          //Poll by Jens
  62          case 89: echo 'onsubmit="selectAllOptions(this.cimage_list);"';            break;
  63          
  64          default: echo 'onsubmit="var ct=getElementById(\'target_ctype\');if(ct.disabled)ct.disabled=false;"';
  65          
  66      }
  67      
  68      if(empty($content["id"]) && empty($content['block'])) {
  69      
  70          $sendbutton = $BL['be_article_cnt_button2'];
  71          
  72          $content["block"]             = 'CONTENT';
  73          $content["before"]             = '';
  74          $content["after"]             = '';
  75          $content["title"]            = '';
  76          $content["subtitle"]        = '';
  77          $content["top"]                = 0;
  78          $content["visible"]            = 0;
  79          $content["anchor"]            = 0;
  80          $content['comment']            = '';
  81          $content['paginate_title']    = '';
  82          $content['paginate_page']    = '';
  83          $content["granted"]            = 0;
  84      
  85      } else {
  86      
  87          $sendbutton = $BL['be_article_cnt_button1'];
  88      
  89      }
  90      
  91      ?>>
  92  <input type="hidden" name="ctype_module" value="<?php echo html_specialchars($content["module"]) ?>" />
  93  <table summary="" width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-bottom:13px;">
  94      
  95      <tr><td colspan="2" class="title"><?php 
  96      
  97      echo $BL['be_article_cnt_title'].' &#8212; <span style="text-transform: uppercase;">';
  98      echo $wcs_content_type[$content["type"]];
  99      if(!empty($content["module"])) {
 100          
 101          echo ': '.$BL['modules'][$content["module"]]['listing_title'];
 102          
 103      }
 104      echo '</span>';
 105      
 106      
 107      ?></td></tr>
 108      <tr><td colspan="2" class="rowspacer5x0"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr>
 109      <tr bgcolor="#D9DEE3"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="4" /></td></tr>
 110      
 111      <tr bgcolor="#D9DEE3">
 112          <td align="right" class="chatlist" nowrap="nowrap"><a href="phpwcms.php?do=admin&amp;p=6&amp;struct=<?php
 113          
 114          if(empty($content['article']['acat_id'])) {
 115              echo 'index';
 116          } else {
 117              echo $content['article']['acat_struct'];
 118              echo '&amp;cat=';
 119              echo $content['article']['acat_id'];
 120          }
 121          
 122          ?>" onclick="return confirm('<?php echo $BL['be_dialog_warn_nosave']; 
 123          ?>');"><?php echo $BL['be_article_cat'];
 124          
 125          ?><img src="img/symbole/redirect.gif" alt="" border="0" style="margin:0 0 0 2px;position:relative;top:1px;" /></a>:&nbsp;</td>
 126          <td><strong><?php echo html_specialchars($content["article"]['acat_name']).' [ID:'.$content['article']['acat_id'].']' ?></strong></td>
 127      </tr>
 128      <tr bgcolor="#D9DEE3"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="2" /></td>
 129      </tr>
 130      <tr bgcolor="#D9DEE3">
 131          <td align="right" class="chatlist" nowrap="nowrap"><a href="phpwcms.php?do=articles&amp;p=2&amp;s=1&amp;aktion=1&amp;id=<?php
 132          
 133          echo $content["aid"];
 134          ?>" onclick="return confirm('<?php echo $BL['be_dialog_warn_nosave']; 
 135          ?>');"><?php echo $BL['be_article_atitle'];
 136          
 137          ?><img src="img/symbole/redirect.gif" alt="" border="0" style="margin:0 0 0 2px;position:relative;top:1px;" /></a>:&nbsp;</td>
 138          <td onclick="showEditArticleID(this);" onmouseover="this.ttOffsetY=0;Tip('<?php echo $BL['be_change_articleID'].'<br />'.$BL['be_cnt_default'].': '.$content["aid"] ?>')" class="linkcursor"><strong><?php echo html_specialchars($content["article"]['article_title']) ?></strong></td>
 139      </tr>
 140      
 141      
 142      <tr bgcolor="#D9DEE3"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="4" /><script language="javascript" type="text/javascript">
 143      <!--
 144      var istuff_done = false;
 145  	function showEditArticleID(istuff) {
 146          if(istuff_done) return false;
 147          istuff.innerHTML += '&nbsp; <'+'span class="chatlist"'+'><?php echo $BL['be_func_struct_articleID'] ?>:&nbsp;<'+'/span><'+'input type="text" name="ctype_change_aid" value="<?php echo $content["aid"] ?>" class="v11 width35" /'+'>';
 148          istuff_done = true;
 149      }    
 150      //-->
 151      </script></td></tr>
 152      <tr><td colspan="2" class="rowspacer"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr>
 153      <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr>
 154      
 155      <tr bgcolor="#F3F5F8">
 156        <td align="right" class="chatlist"><?php 
 157      
 158          echo $BL['be_article_cnt_type'];
 159          $enable_disable = '';
 160              
 161      ?>:&nbsp;</td>
 162        <td><table summary="" border="0" cellspacing="0" cellpadding="0">
 163            <tr>
 164              <td><select name="target_ctype" id="target_ctype" onchange="if(confirm('<?php
 165  
 166      // echo Message for JS dialog
 167      echo $BL['be_func_switch_contentpart'];
 168      
 169      // Menü mit Content Typen erstellen
 170      // build select box options and remember the "old" value for javascript
 171      $temp_select                = '';
 172      $temp_count                    = 0;
 173      $contentpart_temp_selected    = 0;
 174      
 175      if(is_array($article["article_cntpart"]) && count($article["article_cntpart"])) {
 176          // list all content parts usable for this article category
 177          foreach($article["article_cntpart"] as $value) {
 178              if(isset($wcs_content_type[$value])) {
 179                  
 180                  $temp_select .= getContentPartOptionTag($value, $wcs_content_type[$value], $content['type'], $content['module']);
 181                  $temp_count++;
 182              }
 183              $value1 = $value * (-1);
 184              if(isset($BL['be_admin_optgroup_label'][$value1]) && $value) {
 185                  $temp_select .= '<optgroup label="[ '.$BL['be_admin_optgroup_label'][$value1].' ]" class="cntOptGroup"></optgroup>'."\n";
 186              }
 187          } 
 188      
 189      }
 190      if(!$temp_count) {
 191          //list all available content parts
 192          foreach($wcs_content_type as $key => $value) {
 193              $temp_select .= getContentPartOptionTag($key, $value, $content['type'], $content['module']);
 194              $temp_count++;
 195          }    
 196      }
 197      
 198  ?>')){ this.form.submit(); } else {    this.form.target_ctype.selectedIndex = <?php echo $contentpart_temp_selected; ?>; return false; }">
 199  <?php
 200  
 201      //Menü mit Content Typen erstellen
 202      echo $temp_select
 203                      
 204  ?>
 205                        </select>
 206                      </td>
 207              <?php echo $enable_disable; ?>
 208              
 209                    </tr>
 210                  </table></td>
 211          </tr>
 212  
 213      <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr>  
 214      <tr><td colspan="2" class="rowspacer0x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr>
 215              
 216      <tr>
 217              <td align="right" class="chatlist"><?php echo $BL['be_show_content'] ?>:&nbsp;</td>
 218                <td><select name="cblock" id="cblock"<?php if($content['article']['article_paginate']) echo ' onchange="checkCntBlockPaginate(this);"' ?>>
 219                      <option value="CONTENT"<?php echo  is_selected('CONTENT', $content["block"]) ?>><?php echo  $BL['be_main_content'] ?> (CONTENT)</option>
 220                      <option value="LEFT"<?php echo  is_selected('LEFT', $content["block"]) ?>><?php echo  $BL['be_cnt_left'] ?> (LEFT)</option>
 221                      <option value="RIGHT"<?php echo  is_selected('RIGHT', $content["block"]) ?>><?php echo  $BL['be_cnt_right'] ?> (RIGHT)</option>
 222                      <option value="HEADER"<?php echo  is_selected('HEADER', $content["block"]) ?>><?php echo  $BL['be_admin_page_header'] ?> (HEADER)</option>
 223                      <option value="FOOTER"<?php echo  is_selected('FOOTER', $content["block"]) ?>><?php echo  $BL['be_admin_page_footer'] ?> (FOOTER)</option>
 224  <?php
 225  
 226  $sql = "SELECT * FROM ".DB_PREPEND."phpwcms_template WHERE template_id=".$content['article']['acat_template']." LIMIT 1";
 227  $result = _dbQuery($sql);
 228  if(isset($result[0]['template_var'])) {
 229      
 230      $result = unserialize($result[0]['template_var']);
 231      if(isset($result['customblock'])) {
 232          $result = explode(',', $result['customblock']);
 233          foreach($result as $value) {
 234              $value = trim($value);
 235              if($value != '') {
 236                  $valhtml = html_specialchars($value);
 237                  echo '        <option value="'.$valhtml.'"'.is_selected($value, $content["block"], 0, 0).'>'.$valhtml.'</option>'.LF;                
 238              }        
 239          }
 240      }
 241  }
 242  
 243  ?>
 244  </select></td>
 245      </tr>
 246      <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="4" /></td></tr>
 247      
 248      <tr>
 249        <td align="right" class="chatlist"><?php echo $BL['be_article_cnt_space'] ?>:&nbsp;</td>
 250        <td><table summary="" border="0" cellspacing="0" cellpadding="0" width="444">
 251            <tr>
 252              <td class="v10" bgcolor="#E7E8EB"><label for="ccb">&nbsp;<?php echo $BL['be_article_cnt_before'] ?></label></td>
 253              <td bgcolor="#E7E8EB"><input name="ccb" type="checkbox" id="ccb" value="1" <?php if(intval($content["before"])) echo "checked"; ?> onclick="if(!this.checked){this.form.cbefore.value='';}else{ if(this.form.cbefore.value=='') this.checked=false;}" /></td>
 254              <td bgcolor="#E7E8EB"><input name="cbefore" type="text" id="cbefore" class="width20" value="<?php echo $content["before"] ?>" size="2" maxlength="4" onkeyup="if(parseInt(this.value)){this.form.ccb.checked=true;}else{this.form.ccb.checked=false;this.value=''}" /></td>
 255              <td class="v10" bgcolor="#E7E8EB"><label for="cca">&nbsp;<?php echo $BL['be_article_cnt_after'] ?></label></td>
 256              <td bgcolor="#E7E8EB"><input name="cca" type="checkbox" id="cca" value="1" <?php if(intval($content["after"])) echo "checked"; ?> onclick="if(!this.checked){this.form.cafter.value='';}else{ if(this.form.cafter.value=='') this.checked=false;}" /></td>
 257              <td style="padding:1px 1px 1px 0" bgcolor="#E7E8EB"><input name="cafter" type="text" id="cafter" class="width20" value="<?php echo $content["after"] ?>" size="2" maxlength="4" onkeyup="if(parseInt(this.value)){this.form.cca.checked=true;}else{this.form.cca.checked=false;this.value=''}" /></td>
 258              <td class="chatlist"><label for="ctop">&nbsp;&nbsp;<?php echo $BL['be_article_cnt_toplink'] ?>:</label></td>
 259              <td><input name="ctop" type="checkbox" id="ctop" value="1"<?php is_checked(1, $content["top"]); ?> /></td>
 260              <?php
 261              
 262              $anchor_title = empty($content["id"]) ? '' : ' title="cpid'.$content["id"].'"';
 263              
 264              ?>
 265              <td class="chatlist"><label for="canchor"<?php echo $anchor_title ?>>&nbsp;&nbsp;<?php echo $BL['be_article_cnt_anchor'] ?>:</label></td>
 266              <td><input name="canchor" type="checkbox" id="canchor" value="1"<?php is_checked(1, $content["anchor"]); ?><?php echo $anchor_title ?> /></td>
 267              
 268              <td class="chatlist" width="100" align="right">&nbsp;&nbsp;<?php echo $BL['be_cnt_sortvalue'] ?>:&nbsp;</td>
 269              <td><input name="csorting" type="text" id="csorting" value="<?php echo $content["sorting"] ?>" class="width30" maxlength="10" onkeyup="if(!parseInt(this.value))this.value='0';" /></td>
 270              
 271          </tr>
 272          </table>
 273        </td>
 274      </tr>
 275  
 276  
 277      <tr><td colspan="2" class="rowspacer7x0"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr>
 278      <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr>
 279  
 280      
 281               <?php
 282            if(isset($content["error"])) {
 283            ?>
 284      <tr bgcolor="#F3F5F8">
 285          <td align="right" valign="top" bgcolor="#FFE9D2"><strong style="color:#FF6600"><?php echo $BL['be_admin_usr_err'] ?>:&nbsp;</strong></td>
 286          <td valign="top" bgcolor="#FFE9D2"><strong style="color:#FF6600"><?php
 287              //Fehlerdarstellung
 288              $content["error_result"]="";
 289              foreach($content["error"] as $value) {
 290                  $content["error_result"] .= "> ".$value."\n";
 291              }
 292              echo nl2br(html_specialchars(chop($content["error_result"])));
 293              unset($content["error_result"]);
 294          
 295          ?></strong></td>
 296      </tr>
 297      <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr>
 298            <?php
 299            }
 300            ?>
 301      <tr bgcolor="#F3F5F8">
 302        <td align="right" class="chatlist"><?php echo $BL['be_article_cnt_ctitle'] ?>:&nbsp;</td>
 303        <td><input name="ctitle" type="text" id="ctitle" class="width440p5" value="<?php echo html_specialchars($content["title"]) ?>" size="40" maxlength="250" /></td>
 304      </tr>
 305      <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="2" /></td></tr>
 306      <tr bgcolor="#F3F5F8">
 307        <td align="right" class="chatlist"><?php echo $BL['be_article_asubtitle'] ?>:&nbsp;</td>
 308        <td><input name="csubtitle" type="text" id="csubtitle" class="width440p5" value="<?php echo html_specialchars($content["subtitle"]) ?>" size="40" maxlength="250" /></td>
 309      </tr>
 310      
 311  <?php
 312  
 313      // check if it is necessary to display paginate stuff 
 314      // in case no content part pagination isset for current article
 315      
 316      $content["paginate_page"] = empty($content["paginate_page"]) ? 0 : intval($content["paginate_page"]);
 317  
 318      if(empty($content['article']['article_paginate'])) {
 319      
 320          echo '<tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="7" />';
 321          echo '<input name="cpaginate_title" type="hidden" id="cpaginate_title" value="'.html_specialchars($content["paginate_title"]).'" />';
 322          echo '<input name="cpaginate_page" type="hidden" id="cpaginate_page" value="'.$content["paginate_page"].'" />';
 323          echo '</td></tr>';
 324      
 325      } else {
 326  
 327  ?>
 328  
 329      <tr bgcolor="#F3F5F8"><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr>
 330      <tr><td colspan="2" class="rowspacer0x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr>
 331  
 332      <tr>
 333        <td align="right" class="chatlist"><?php echo $BL['be_cnt_paginate_subsection'] ?>:&nbsp;</td>
 334        <td><table summary="" border="0" cellspacing="0" cellpadding="0" width="444">
 335            <tr>
 336                <td><input name="cpaginate_page" type="text" id="cpaginate_page" class="v11 width25" value="<?php echo $content["paginate_page"] ?>" size="3" maxlength="3" onkeyup="if(!parseInt(this.value))this.value='0';" /></td>
 337              <td align="right" class="chatlist">&nbsp;&nbsp;<?php echo $BL['be_cnt_subsection_tite'].' ('.$BL['be_pagination'].')' ?>:&nbsp;</td>
 338              <td width="200"><input name="cpaginate_title" type="text" id="cpaginate_title" class="f11b width225" value="<?php echo html_specialchars($content["paginate_title"]) ?>" size="40" maxlength="200" /></td>
 339            </tr>
 340          </table>
 341          <script language="javascript" type="text/javascript">
 342      <!--
 343      
 344      var loadblock  = true;
 345      checkCntBlockPaginate(getObjectById("cblock"));
 346      loadblock      = false;
 347  
 348  	function checkCntBlockPaginate(obj) {
 349          var paginate = getObjectById("cpaginate_page");
 350          if(obj.options[obj.selectedIndex].value != "CONTENT") {
 351              if(paginate.value != "0" && loadblock == false) {
 352                  if(!confirm("<?php echo $BL['be_cnt_subsection_warning'] ?>")) {
 353                      getObjectById("cblock").selectedIndex = 0;
 354                      return false;
 355                  }
 356              }
 357              paginate.disabled = true;
 358          } else {
 359              paginate.disabled = false;
 360          }
 361      }
 362      
 363      //-->            
 364      </script>
 365      </tr>
 366      
 367      <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="7" /></td></tr>
 368  
 369  <?php
 370  
 371      }
 372      // end paginate check
 373  
 374  ?>
 375  
 376      <tr><td colspan="2" class="rowspacer"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr>
 377      
 378      <tr bgcolor="#F3F5F8">
 379          <td>&nbsp;</td>
 380          <td style="padding:7px 0 7px 0;">
 381  <?php
 382  
 383  // render buttons only once and save the buffer
 384  if(!empty($content["id"])) {
 385      $buttonActionLink    = 'index.php?id='.$content['article']['acat_id'].','.$content["aid"].',0,0,1,0';
 386      $buttonAction  = '    <div style="float:right;margin-right:5px;padding:0;">';
 387      $buttonAction .= '    <button type="button" value="'.$BL['be_func_struct_preview'].'" class="button10" title="'.$BL['be_func_struct_preview'].'" ';
 388      $buttonAction .= 'onclick="window.open(\''.$buttonActionLink."', 'articlePreviewWindows');return false;\">";
 389      $buttonAction .= $BL['be_func_struct_preview']."</button></div>" . LF;
 390  } else {
 391      $buttonAction  = '';
 392  }
 393  
 394  
 395  ob_start();
 396  
 397  ?>        
 398  <div>
 399      <?php echo $buttonAction; ?>
 400      <div style="float:left;padding:0;">
 401      <input name="Submit" type="submit" class="button10" value="<?php echo  $sendbutton ?>" />
 402      <input name="SubmitClose" type="submit" class="button10" value="<?php echo $BL['be_article_cnt_button3'] ?>" />
 403      &nbsp; &nbsp;
 404      <input name="donotsubmit" type="button" class="button10" value="<?php echo  $BL['be_newsletter_button_cancel'] ?>" onclick="location.href='phpwcms.php?do=articles&amp;p=2&amp;s=1&amp;id=<?php echo $content["aid"] ?>'" />
 405      </div>
 406  </div>        
 407  <?php
 408  
 409  $_save_close_buttons = ob_get_contents();
 410  ob_end_clean();
 411  
 412  echo $_save_close_buttons;
 413  
 414  ?>    
 415          </td>
 416      </tr>
 417  
 418  
 419  
 420  <?php
 421      // show content part specific form elements
 422      
 423      if($content['type'] != 30 && file_exists(PHPWCMS_ROOT.'/include/inc_tmpl/content/cnt'.$content['type'].'.inc.php')) {
 424      
 425          include_once(PHPWCMS_ROOT.'/include/inc_tmpl/content/cnt'.$content['type'].'.inc.php');
 426          
 427      } elseif($content['type'] == 30 && file_exists($phpwcms['modules'][$content["module"]]['path'].'inc/cnt.form.php')) {
 428      
 429          include_once($phpwcms['modules'][$content["module"]]['path'].'inc/cnt.form.php');
 430          
 431      } else {
 432  
 433          include_once (PHPWCMS_ROOT.'/include/inc_tmpl/content/cnt0.inc.php');
 434  
 435      }
 436  
 437  ?>
 438  
 439      <tr><td colspan="2"><img src="img/leer.gif" alt="" width="1" height="8" /></td></tr>
 440  
 441      <tr>
 442          <td align="right" class="chatlist"><?php echo $BL['be_ftptakeover_status'] ?>:&nbsp;</td>
 443          <td><table summary="" border="0" cellpadding="1" cellspacing="0" bgcolor="#E7E8EB">
 444              <tr>
 445  
 446                  <td><input name="cvisible" type="checkbox" id="cvisible" value="1"<?php is_checked(1, $content["visible"]); ?> /></td>
 447                  <td><label for="cvisible"><?php echo $BL['be_admin_struct_visible'] ?>&nbsp;&nbsp;</label></td>
 448                  
 449                  <td bgcolor="#FFFFFF">&nbsp;</td>
 450                  
 451                  <td><input name="cgranted" type="checkbox" id="cgranted" value="1"<?php is_checked(1, $content["granted"]); ?> /></td>
 452                  <td><label for="cgranted"><?php echo $BL['be_granted_feuser'] ?>&nbsp;&nbsp;</label></td>
 453                  
 454              </tr>
 455          </table></td>
 456      </tr>
 457      
 458      <tr>
 459  
 460      <td>&nbsp;</td>
 461      <td style="padding: 12px 0 12px 0;">
 462  <input name="caktion" type="hidden" id="caktion" value="1" />
 463  <input name="caid" type="hidden" id="caid" value="<?php echo $article["article_id"] ?>" />
 464  <input name="cid" type="hidden" id="cid" value="<?php echo  $content["id"] ?>" />
 465  <input name="ctype" type="hidden" id="ctype" value="<?php echo  $content["type"] ?>" />
 466  <?php echo $_save_close_buttons ?>
 467          </td>
 468      </tr>
 469      
 470      <tr><td colspan="2" class="rowspacer0x7"><img src="img/leer.gif" alt="" width="1" height="1" /></td></tr>
 471      
 472      <tr>
 473        <td align="right" class="chatlist tdtop3"><?php echo $BL['be_profile_label_notes'] ?>:&nbsp;</td>
 474        <td><textarea name="ccomment" id="ccomment" class="v11 width440" rows="5"><?php echo html_specialchars($content["comment"]) ?></textarea></td>
 475      </tr>
 476      
 477  </table>
 478  </form>


Generated: Wed Dec 30 05:55:15 2009 Cross-referenced by PHPXref 0.7