fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [13625] class.uisend_email.php


From: Saul
Subject: [Fmsystem-commits] [13625] class.uisend_email.php
Date: Fri, 10 Jul 2015 22:53:17 +0000

Revision: 13625
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13625
Author:   psaul
Date:     2015-07-10 22:53:16 +0000 (Fri, 10 Jul 2015)
Log Message:
-----------
class.uisend_email.php

Modified Paths:
--------------
    branches/dev-syncromind/booking/inc/class.uisend_email.inc.php

Modified: branches/dev-syncromind/booking/inc/class.uisend_email.inc.php
===================================================================
--- branches/dev-syncromind/booking/inc/class.uisend_email.inc.php      
2015-07-10 22:52:34 UTC (rev 13624)
+++ branches/dev-syncromind/booking/inc/class.uisend_email.inc.php      
2015-07-10 22:53:16 UTC (rev 13625)
@@ -7,6 +7,7 @@
                public $public_functions = array
                (
                        'index'                 =>      true,
+            'query'         => true,
                        'receipt'               =>      true,
                );
 
@@ -16,8 +17,11 @@
                        
                        self::set_active_menu('booking::mailing');
                }
-               
-               public function index()
+               public function query() {
+            
+        }
+
+        public function index()
                {
                        $errors = array();
                        $step = 1;
@@ -69,8 +73,15 @@
 
                        $this->flash_form_errors($errors);
                        self::add_javascript('booking', 'booking', 
'email_send.js');
+            
+            $tabs = array();
+            $tabs['generic'] = array('label' => lang('Building Send'), 'link' 
=> '#building');
+            $active_tab = 'generic';
+            
+            $building['tabs'] = phpgwapi_jquery::tabview_generate($tabs, 
$active_tab);
+            
                        if ($step == 1)
-                               self::render_template('email_index', 
+                               self::render_template_xsl('email_index', 
                                        array('building' => $building,
                                        'season' => $season,
                                        'mailsubject' => $mailsubject,
@@ -78,7 +89,7 @@
                                        'step' => $step));
 
                        if ($step == 2)
-                               self::render_template('email_preview', 
+                               self::render_template_xsl('email_preview', 
                                        array('building' => $building,
                                        'season' => $season,
                                        'mailsubject' => $mailsubject,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]