Open Source Billing
This commit is contained in:
14
modules/email/views/email/admin/templateadd.php
Normal file
14
modules/email/views/email/admin/templateadd.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<table class="box-left">
|
||||
<tr>
|
||||
<td class="head">Name:</td>
|
||||
<td><?php echo Form::input('name','',array('size'=>30)); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">Active:</td>
|
||||
<td><?php echo StaticList_YesNo::form('status',TRUE); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">Notes:</td>
|
||||
<td><?php echo Form::input('notes','',array('size'=>80)); ?></td>
|
||||
</tr>
|
||||
</table>
|
18
modules/email/views/email/admin/templateadd/translate.php
Normal file
18
modules/email/views/email/admin/templateadd/translate.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<table class="box-left">
|
||||
<tr>
|
||||
<td class="head">Language:</td>
|
||||
<td><?php echo Form::input(sprintf('translate[%s][language_id]','new'),'',array('size'=>5)); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">Subject:</td>
|
||||
<td><?php echo Form::input(sprintf('translate[%s][subject]','new'),'',array('size'=>80)); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">Text:</td>
|
||||
<td><?php echo Form::textarea(sprintf('translate[%s][message_text]','new'),'',array('cols'=>120,'rows'=>10)); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">HTML:</td>
|
||||
<td><?php echo Form::textarea(sprintf('translate[%s][message_html]','new'),'',array('cols'=>120,'rows'=>10,'class'=>'mceEditor')); ?></td>
|
||||
</tr>
|
||||
</table>
|
14
modules/email/views/email/admin/templateedit.php
Normal file
14
modules/email/views/email/admin/templateedit.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<table class="box-left">
|
||||
<tr>
|
||||
<td class="head">Name:</td>
|
||||
<td><?php echo Form::input('name',$template->name,array('size'=>30)); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">Active:</td>
|
||||
<td><?php echo StaticList_YesNo::form('status',$template->status); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">Notes:</td>
|
||||
<td><?php echo Form::input('notes',$template->notes,array('size'=>80)); ?></td>
|
||||
</tr>
|
||||
</table>
|
18
modules/email/views/email/admin/templateedit/translate.php
Normal file
18
modules/email/views/email/admin/templateedit/translate.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<table class="box-left">
|
||||
<tr>
|
||||
<td class="head">Language:</td>
|
||||
<td><?php echo Form::input(sprintf('translate[%s][language_id]',$translate->id),$translate->language_id,array('size'=>5)); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">Subject:</td>
|
||||
<td><?php echo Form::input(sprintf('translate[%s][subject]',$translate->id),$translate->subject,array('size'=>80)); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">Text:</td>
|
||||
<td><?php echo Form::textarea(sprintf('translate[%s][message_text]',$translate->id),$translate->message_text,array('cols'=>120,'rows'=>10)); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">HTML:</td>
|
||||
<td><?php echo Form::textarea(sprintf('translate[%s][message_html]',$translate->id),$translate->message_html,array('cols'=>120,'rows'=>20,'class'=>'mceEditor')); ?></td>
|
||||
</tr>
|
||||
</table>
|
4
modules/email/views/email/admin/templatelist/body.php
Normal file
4
modules/email/views/email/admin/templatelist/body.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<tr>
|
||||
<td><a href="<?php echo URL::link('admin','email/templateedit/'.$template->id,TRUE); ?>" alt=""><?php echo $template->name; ?></a></td>
|
||||
<td><?php echo $template->display('status'); ?></td>
|
||||
</tr>
|
1
modules/email/views/email/admin/templatelist/foot.php
Normal file
1
modules/email/views/email/admin/templatelist/foot.php
Normal file
@@ -0,0 +1 @@
|
||||
</table>
|
6
modules/email/views/email/admin/templatelist/head.php
Normal file
6
modules/email/views/email/admin/templatelist/head.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<!-- //@todo Translation required -->
|
||||
<table class="box-left">
|
||||
<tr class="head">
|
||||
<td>Template</td>
|
||||
<td>Active</td>
|
||||
</tr>
|
20
modules/email/views/email/user/view.php
Normal file
20
modules/email/views/email/user/view.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td>To:</td><td class="data"><?php printf('%s (%s)',$elo->account->name(),$elo->display('email')); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Date:</td><td class="data"><?php echo $elo->display('date_orig'); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Subject:</td><td class="data"><?php echo $elo->translate_resolve('subject'); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 100%;" colspan="2">
|
||||
<table class="box-full">
|
||||
<tr>
|
||||
<td><?php echo $elo->translate_resolve('message_html'); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
Reference in New Issue
Block a user