Vault working kinda. Corrupting some attachments. Refactoring using RipMime

This commit is contained in:
Karl Cordes 2009-02-11 12:10:10 +11:00
parent 33318da076
commit 5d757466eb
2 changed files with 4 additions and 2 deletions

View file

@ -12,7 +12,7 @@ class VaultShell extends Shell {
function main() { function main() {
$testing = 1; //Whether to actually move the emails. $testing = 1; //Whether to actually move the emails. 1=test, 0=production
/* Setup Connection to the IMAP server */ /* Setup Connection to the IMAP server */
$username = 'vault'; $username = 'vault';
$password = 'xjdYOsmJWc37'; /* The password for the account to be checked */ $password = 'xjdYOsmJWc37'; /* The password for the account to be checked */

View file

@ -1,3 +1,5 @@
<?php echo $paginator->options(array('url'=>$this->passedArgs)); ?>
<?php <?php
echo $paginator->counter(array( echo $paginator->counter(array(
'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) 'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
@ -128,7 +130,7 @@ foreach ($enquiries as $enquiry):
</table> </table>
</div> </div>
<div class="paging"> <div class="paging">
<?php echo $paginator->options(array('url'=>$this->passedArgs)); ?>
<?php echo $paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> <?php echo $paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?>
| <?php echo $paginator->numbers();?> | <?php echo $paginator->numbers();?>
<?php echo $paginator->next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> <?php echo $paginator->next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?>