From ae10726b987ceafe5319c88b02b8072169aa3045 Mon Sep 17 00:00:00 2001 From: sfb Date: Thu, 22 Mar 2012 15:18:17 -0500 Subject: [PATCH] Fixed: #1414 Copied index.ctp to listdir.ctp and admin_index.ctp to eliminate symlinks. --- .../webtt/app/views/raw_files/admin_index.ctp | 64 +++++++++++++++++++ .../www/webtt/app/views/raw_files/listdir.ctp | 64 +++++++++++++++++++ 2 files changed, 128 insertions(+) create mode 100644 code/ryzom/tools/server/www/webtt/app/views/raw_files/admin_index.ctp create mode 100644 code/ryzom/tools/server/www/webtt/app/views/raw_files/listdir.ctp diff --git a/code/ryzom/tools/server/www/webtt/app/views/raw_files/admin_index.ctp b/code/ryzom/tools/server/www/webtt/app/views/raw_files/admin_index.ctp new file mode 100644 index 000000000..885c9cfdf --- /dev/null +++ b/code/ryzom/tools/server/www/webtt/app/views/raw_files/admin_index.ctp @@ -0,0 +1,64 @@ +
+ +
+ +
+

+ + tableHeaders(array($paginator->sort('filename'),$paginator->sort('size'),$paginator->sort('modified'),__('Actions', true),)); +echo ''.$tableHeaders.''; ?> + + + > + + + + + + +'.$tableHeaders.''; ?>
Time->nice($rawFile['RawFile']['modified']); ?> + Html->link(__('View', true), array('action' => 'view', $rawFile['RawFile']['filename'])); ?> + Html->link(__('Import', true), array('action' => 'import', $rawFile['RawFile']['filename'])); ?> + + + +
+ + +

+ Paginator->counter(array( + 'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) + )); + ?>

+ +
+ Paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> + | Paginator->numbers();?> + | + Paginator->next(__('next', true).' >>', array(), null, array('class' => 'disabled'));?> +
+
+
+element('sql_dump');?> \ No newline at end of file diff --git a/code/ryzom/tools/server/www/webtt/app/views/raw_files/listdir.ctp b/code/ryzom/tools/server/www/webtt/app/views/raw_files/listdir.ctp new file mode 100644 index 000000000..885c9cfdf --- /dev/null +++ b/code/ryzom/tools/server/www/webtt/app/views/raw_files/listdir.ctp @@ -0,0 +1,64 @@ +
+ +
+ +
+

+ + tableHeaders(array($paginator->sort('filename'),$paginator->sort('size'),$paginator->sort('modified'),__('Actions', true),)); +echo ''.$tableHeaders.''; ?> + + + > + + + + + + +'.$tableHeaders.''; ?>
Time->nice($rawFile['RawFile']['modified']); ?> + Html->link(__('View', true), array('action' => 'view', $rawFile['RawFile']['filename'])); ?> + Html->link(__('Import', true), array('action' => 'import', $rawFile['RawFile']['filename'])); ?> + + + +
+ + +

+ Paginator->counter(array( + 'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) + )); + ?>

+ +
+ Paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> + | Paginator->numbers();?> + | + Paginator->next(__('next', true).' >>', array(), null, array('class' => 'disabled'));?> +
+
+
+element('sql_dump');?> \ No newline at end of file