Location: PHPKode > projects > Quick.Cms - free and simple to use CMS > actions_admin/files.php
<?php
if( $a == 'list' ){
  if( isset( $_POST['sOption'] ) ){
    $oFile->saveAllFiles( $_POST );
    header( 'Location: '.$_SERVER['PHP_SELF'].'?p='.$p.'&sOption=save' );
    exit;
  }

  if( isset( $sOption ) ){
    $content .= $oTpl->tbHtml( 'messages.tpl', 'DONE' );
  }
  
  $sList = $oFile->listAllFiles( 'files.tpl' );
  $content .= !empty( $sList ) ? $sList : $oTpl->tbHtml( 'messages.tpl', 'EMPTY' );
}
?>
Return current item: Quick.Cms - free and simple to use CMS