Skip to content

Instantly share code, notes, and snippets.

@odino
Created September 22, 2010 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save odino/592135 to your computer and use it in GitHub Desktop.
Save odino/592135 to your computer and use it in GitHub Desktop.
<tbody id="fileList">
<?php
$count = 1;
$css = "";
//list all documents (files and folders) under this current folder,
//<?php echo appendQueryString(appendQueryString(CONFIG_URL_FILEnIMAGE_MANAGER, "path=" . $file['path']), makeQueryString(array('path')));
foreach($fileList as $file)
{
$css = ($css == "" || $css == "even"?"odd":"even");
$strDisabled = ($file['is_writable']?"":" disabled");
$strClass = ($file['is_writable']?"left":" leftDisabled");
if($file['type'] == 'file')
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment