[ Index ]

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

title

Body

[close]

/include/inc_tmpl/ -> files.reiter.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  
  32  // Files-Navigation
  33          
  34  //$no_durchlauf = 0; //Definieren der Durchlauf-Variable
  35  $files_folder = (isset($_GET["f"])) ? intval($_GET["f"]) : 0; //Ermitteln, welcher Unterreiter angezeigt wird
  36  
  37  //Wenn Cut/Paste für Seite Aktiv, dann
  38  $add_paste_icon = '<a href="phpwcms.php?do=files&f=0&mkdir=0" title="'.$BL['be_ftab_createnew'].
  39                    '"><img src="img/button/add_13x13.gif" border="0"></a>';
  40  if(isset($_GET["cut"])) { 
  41      $cutID = intval($_GET["cut"]);
  42      $add_paste_icon = '<a href="include/inc_act/act_file.php?paste='.$cutID.'|0" title="'.$BL['be_ftab_paste'].
  43                        '"><img src="img/button/paste_13x13.gif" border="0"></a>';
  44  } else { $cutID=0; }
  45  
  46  $change_thumbnail_icon = '<a href="include/inc_act/act_file.php?thumbnail=';
  47  if($_SESSION["wcs_user_thumb"]) {
  48      $change_thumbnail_icon .= '0" title="'.$BL['be_ftab_disablethumb'].'">';
  49      $change_thumbnail_icon .= '<img src="img/button/thumbnail_13x13_0.gif" border="0"></a>';
  50  } else {
  51      $change_thumbnail_icon .= '1" title="'.$BL['be_ftab_enablethumb'].'">';
  52      $change_thumbnail_icon .= '<img src="img/button/thumbnail_13x13_1.gif" border="0"></a>';
  53  }
  54          
  55  ?>
  56  <table width="538" border="0" cellpadding="0" cellspacing="0" summary="">
  57  <tr><td class="title"><?php echo $BL['be_ftab_title'] ?></td></tr>
  58  <tr><td><img src="img/leer.gif" alt="" width="1" height="6" /></td></tr>
  59  <tr><td><table width="538" border="0" cellpadding="2" cellspacing="0" summary="">
  60      <tr>
  61          <td width="90" align="center" background="img/background/bg_eckeli.gif" <?php which_folder_active($files_folder, 0) ?>><a href="phpwcms.php?do=files&amp;f=0"><?php echo $BL['be_ftab_private'] ?></a></td>
  62          <td width="90" align="center" background="img/background/bg_eckeli.gif" <?php which_folder_active($files_folder, 1) ?>><a href="phpwcms.php?do=files&amp;f=1"><?php echo $BL['be_ftab_public'] ?></a></td>
  63          <td width="90" align="center" background="img/background/bg_eckeli.gif" <?php which_folder_active($files_folder, 3) ?>><a href="phpwcms.php?do=files&amp;f=3"><?php echo $BL['be_ftab_search'] ?></a></td>
  64          <td width="90" align="center" background="img/background/bg_eckeli.gif" <?php which_folder_active($files_folder, 2) ?>><a href="phpwcms.php?do=files&amp;f=2"><?php echo $BL['be_ftab_trash'] ?></a></td>
  65          <?php if($files_folder == 0) { ?>
  66          <td width="162" align="right" background="img/background/bg_ecke_lang.gif" bgcolor="#EBF2F4" class="chatlist"><img src="img/button/root_dir.gif" alt="" width="43" height="13" /><a href="phpwcms.php?do=files&amp;f=0&amp;upload=0" title="<?php echo $BL['be_ftab_upload'] ?>"><img src="img/button/upload_13x13.gif" alt="" width="13" height="13" border="0" /></a><?php echo $add_paste_icon ?><a href="include/inc_help/filehelp.htm" target="_blank" onclick="flevPopupLink(this.href,'filehelp','scrollbars=yes,resizable=yes,width=320,height=300',0);return document.MM_returnValue" style="cursor: help;"><img src="img/button/help_22x13.gif" alt="open file help" width="22" height="13" border="0" /></a><a href="phpwcms.php?do=files&amp;f=0&amp;all=open" title="<?php echo $BL['be_ftab_open'] ?>"><img src="img/button/alle_auf.gif" alt="" width="12" height="13" border="0" /></a><a href="phpwcms.php?do=files&amp;f=0&amp;all=close" title="<?php echo $BL['be_ftab_close'] ?>"><img src="img/button/alle_zu.gif" alt="" width="12" height="13" border="0" /></a><img src="img/leer.gif" alt="" width="5" height="1" /><?php echo $change_thumbnail_icon ?></td>
  67          <?php } elseif($files_folder == 1) { ?>
  68          <td width="162" align="right" background="img/background/bg_ecke_lang.gif" bgcolor="#EBF2F4" class="chatlist"><a href="include/inc_help/filehelp.htm" target="_blank" onclick="flevPopupLink(this.href,'filehelp','scrollbars=yes,resizable=yes,width=320,height=300',0);return document.MM_returnValue" style="cursor: help;"><img src="img/button/help_22x13.gif" alt="<?php echo $BL['be_ftab_filehelp'] ?>" width="22" height="13" border="0" /></a><a href="phpwcms.php?do=files&amp;f=1&amp;all=close" title="<?php echo $BL['be_ftab_close'] ?>"><img src="img/button/alle_zu.gif" alt="" width="12" height="13" border="0" /></a><img src="img/leer.gif" alt="" width="5" height="1" /><?php echo $change_thumbnail_icon ?></td>
  69          <?php } elseif($files_folder == 3) { ?>
  70          <td width="162" align="right" background="img/background/bg_ecke_lang.gif" bgcolor="#EBF2F4" class="chatlist"><a href="include/inc_help/filehelp.htm" target="_blank" onclick="flevPopupLink(this.href,'filehelp','scrollbars=yes,resizable=yes,width=320,height=300',0);return document.MM_returnValue" style="cursor: help;"><img src="img/button/help_22x13.gif" alt="<?php echo $BL['be_ftab_filehelp'] ?>" width="22" height="13" border="0" /></a><img src="img/leer.gif" alt="" width="5" height="1" /><?php echo $change_thumbnail_icon ?></td>
  71          <?php } else { echo '<td width="162" class="chatlist">&nbsp;</td>'."\n"; } ?>
  72      </tr></table></td></tr>
  73  <tr><td bgcolor="#9BBECA"><img src="img/leer.gif" alt="" width="1" height="4" /></td>
  74  </tr></table>


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