From 9f108dd1a969473375341d92a7b1252fa2cedc9a Mon Sep 17 00:00:00 2001 From: mszulecki Date: Thu, 14 Jun 2007 17:09:01 +0000 Subject: Initial import. git-svn-id: http://svn.sukimashita.com/repos/mailadmin/trunk@2 4281df72-ff29-0410-8fee-2d9ac0c5f5a7 --- .../mailadmin/template/templates/listSuccess.php | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 data/generator/sfPropelAdmin/mailadmin/template/templates/listSuccess.php (limited to 'data/generator/sfPropelAdmin/mailadmin/template/templates/listSuccess.php') diff --git a/data/generator/sfPropelAdmin/mailadmin/template/templates/listSuccess.php b/data/generator/sfPropelAdmin/mailadmin/template/templates/listSuccess.php new file mode 100644 index 0000000..c92aaf4 --- /dev/null +++ b/data/generator/sfPropelAdmin/mailadmin/template/templates/listSuccess.php @@ -0,0 +1,38 @@ +[?php use_helper('I18N', 'Date', 'Tag', 'Javascript') ?] + +
+ +

getI18NString('list.title', $this->getModuleName().' list') ?>

+ +
+[?php include_partial('getModuleName() ?>/list_header', array('pager' => $pager)) ?] +[?php include_partial('getModuleName() ?>/list_messages', array('pager' => $pager)) ?] +
+ +
+[?php echo __('Results') ?]: [?php echo $pager->getNbResults() ?]Entries per Page: [?php echo select_tag("resultsperpage", options_for_select(getParameterValue('list.max_per_page_options', array(10,25,50,100)); var_export(@array_combine($opt,$opt)); ?>, $pager->getMaxPerPage()), array("onchange" => "document.location.href = '".url_for('getModuleName() ?>/list')."?max_per_page='+this.value")) ?]getParameterValue('list.filters')): ?>[?php echo link_to_function(__('Toggle Filter Settings'), visual_effect('toggle_blind', 'sf_admin_filters' )) ?] + + +getParameterValue('list.filters')): ?> +
+[?php include_partial('filters', array('filters' => $filters)) ?] +
+ + +[?php include_partial('pager', array('pager' => $pager, 'location' => 'top')) ?] +
+[?php if (!$pager->getNbResults()): ?] +[?php echo __('no result') ?] +[?php else: ?] +[?php include_partial('getModuleName() ?>/list', array('pager' => $pager)) ?] +[?php endif; ?] +
+[?php include_partial('pager', array('pager' => $pager, 'location' => 'bottom')) ?] +[?php include_partial('list_actions') ?] +
+ + + +
-- cgit v1.1-32-gdbae