Marius Cramer
2013-11-14 b1a6a5a3991cec5cd08873b01376e45d0b247f18
interface/web/sites/ftp_user_list.php
@@ -28,8 +28,8 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
/******************************************
* Begin Form configuration
@@ -48,23 +48,23 @@
class list_action extends listform_actions {
   function onShow() {
      global $app,$conf;
      global $app, $conf;
      $app->uses('getconf');
      $global_config = $app->getconf->get_global_config('sites');
      if($global_config['webftp_url'] != '') {
         $app->tpl->setVar('webftp_link',1);
         $app->tpl->setVar('webftp_url',$global_config['webftp_url']);
         $app->tpl->setVar('webftp_link', 1);
         $app->tpl->setVar('webftp_url', $global_config['webftp_url']);
      } else {
         $app->tpl->setVar('webftp_link',0);
         $app->tpl->setVar('webftp_link', 0);
      }
      parent::onShow();
   }
}
$list = new list_action;
@@ -72,4 +72,4 @@
$list->onLoad();
?>
?>