diff options
author | mszulecki | 2007-06-14 17:09:01 +0000 |
---|---|---|
committer | mszulecki | 2007-06-14 17:09:01 +0000 |
commit | 9f108dd1a969473375341d92a7b1252fa2cedc9a (patch) | |
tree | d5f2e35ec0bd2d52dab0ee3282fc6751e0fa8dba /data/generator/sfPropelAdmin/mailadmin/template/templates/listSuccess.php | |
parent | e35884d11b81e4e4bbd73e1882e2b8011e85d118 (diff) | |
download | mailadmin-9f108dd1a969473375341d92a7b1252fa2cedc9a.tar.gz mailadmin-9f108dd1a969473375341d92a7b1252fa2cedc9a.tar.bz2 |
Initial import.
git-svn-id: http://svn.sukimashita.com/repos/mailadmin/trunk@2 4281df72-ff29-0410-8fee-2d9ac0c5f5a7
Diffstat (limited to 'data/generator/sfPropelAdmin/mailadmin/template/templates/listSuccess.php')
-rw-r--r-- | data/generator/sfPropelAdmin/mailadmin/template/templates/listSuccess.php | 38 |
1 files changed, 38 insertions, 0 deletions
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') ?] + +<div id="context"> + +<h1><?php echo $this->getI18NString('list.title', $this->getModuleName().' list') ?></h1> + +<div id="sf_admin_header"> +[?php include_partial('<?php echo $this->getModuleName() ?>/list_header', array('pager' => $pager)) ?] +[?php include_partial('<?php echo $this->getModuleName() ?>/list_messages', array('pager' => $pager)) ?] +</div> + +<div id="sf_admin_content"> +<span class="summary"><b>[?php echo __('Results') ?]:</b> [?php echo $pager->getNbResults() ?]</span><span class="summary"><b>Entries per Page:</b> [?php echo select_tag("resultsperpage", options_for_select(<?php $opt = $this->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('<?php echo $this->getModuleName() ?>/list')."?max_per_page='+this.value")) ?]</span><?php if ($this->getParameterValue('list.filters')): ?><span class="summary toggle">[?php echo link_to_function(__('Toggle Filter Settings'), visual_effect('toggle_blind', 'sf_admin_filters' )) ?]</span> +<?php endif; ?> + +<?php if ($this->getParameterValue('list.filters')): ?> +<div id="sf_admin_bar"> +[?php include_partial('filters', array('filters' => $filters)) ?] +</div> +<?php endif; ?> + +[?php include_partial('pager', array('pager' => $pager, 'location' => 'top')) ?] +<hr size="1" /> +[?php if (!$pager->getNbResults()): ?] +[?php echo __('no result') ?] +[?php else: ?] +[?php include_partial('<?php echo $this->getModuleName() ?>/list', array('pager' => $pager)) ?] +[?php endif; ?] +<hr size="1" /> +[?php include_partial('pager', array('pager' => $pager, 'location' => 'bottom')) ?] +[?php include_partial('list_actions') ?] +</div> + +<div id="sf_admin_footer"> +[?php include_partial('<?php echo $this->getModuleName() ?>/list_footer', array('pager' => $pager)) ?] +</div> + +</div> |