diff --git a/vendors/shells/vault.php b/vendors/shells/vault.php index 68179e41..e975e0ed 100755 --- a/vendors/shells/vault.php +++ b/vendors/shells/vault.php @@ -25,7 +25,7 @@ class VaultShell extends Shell { if($testing == 1) { $email_dir = '/Users/karlcordes/Sites/quotenik/app/emails'; - + $ripmime_path = '/opt/local/bin/ripmime'; } @@ -39,7 +39,7 @@ class VaultShell extends Shell { if($number_of_messages == 0) { exit(0); } - + /* Loop through the messages and sort them into ones to be processed or discarded */ for ($i=30000; $i <= $number_of_messages; $i++) { @@ -162,7 +162,7 @@ class VaultShell extends Shell { } - // $this->rmdirr($email_dir); //delete all attachments from the working directory. Easiest way to stop random files persisting + // $this->rmdirr($email_dir); //delete all attachments from the working directory. Easiest way to stop random files persisting @@ -327,7 +327,7 @@ class VaultShell extends Shell { if(isset($output[0])) { //Found a valid-looking Enquiry Number $fetched_enquirynumber = $output[0]; - // echo $fetched_enquirynumber."\n"; + // echo $fetched_enquirynumber."\n"; $enquiry = $this->Enquiry->findByTitle($fetched_enquirynumber); if($enquiry) { return $enquiry; @@ -387,8 +387,8 @@ class VaultShell extends Shell { function getUniqId($email_dir) { $uniqid = uniqid(null,TRUE); //while(is_dir($email_dir."/".$uniqid) == TRUE) { - // - // } + // + // } return $uniqid; } diff --git a/views/elements/email_table_ajax.ctp b/views/elements/email_table_ajax.ctp index ed8f6643..5608493c 100755 --- a/views/elements/email_table_ajax.ctp +++ b/views/elements/email_table_ajax.ctp @@ -1,17 +1,19 @@ +link('email_table'); ?> + - -
| - | image('attach.png'); ?> | -- | - | - | + | - |
|---|
| + | image('attach.png'); ?> | ++ | + + | + + | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| - | 0) { + | + | 0) { echo $html->image('attach.png'); } ?> - | -highlight($ajax->link($email['Email']['subject'], array('controller'=> 'emails', 'action'=>'frame/', $email['Email']['id']), array('update'=>'showemail')), 'Quotation'); ?> | -- | - | + + | + | highlight($html->link($email['Email']['subject'], array('controller'=> 'emails', 'action'=>'frame/', $email['Email']['id'])), 'Quotation'); + echo $text->highlight($html->link($email['Email']['subject'], '#', array('class'=>'viewLink', 'id'=>$email['Email']['id'])), 'Quotation'); + ?> | -- link(__('View', true), array('controller'=> 'emails', 'action'=>'view/', $email['Email']['id'])); - echo $ajax->link('View', array('controller'=>'emails', 'action'=>'frame/', $email['Email']['id']), array('update' => 'showemail')); - echo $html->link('Print', array('controller' => 'emails', 'action'=>'printview/', $email['Email']['id'])); - ?> - | -+ + + - |