Move emailtemplate under email
This commit is contained in:
14
modules/email/views/email/admin/template/add.php
Normal file
14
modules/email/views/email/admin/template/add.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('active',TRUE); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">Notes:</td>
|
||||
<td><?php echo Form::input('notes','',array('size'=>80)); ?></td>
|
||||
</tr>
|
||||
</table>
|
14
modules/email/views/email/admin/template/edit.php
Normal file
14
modules/email/views/email/admin/template/edit.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('active',$template->active); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">Notes:</td>
|
||||
<td><?php echo Form::input('notes',$template->notes,array('size'=>80)); ?></td>
|
||||
</tr>
|
||||
</table>
|
4
modules/email/views/email/admin/template/list_body.php
Normal file
4
modules/email/views/email/admin/template/list_body.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<tr>
|
||||
<td><a href="<?php echo URL::site(sprintf('/admin/email/templateedit/%s',$template->id)); ?>" alt=""><?php echo $template->name; ?></a></td>
|
||||
<td><?php echo $template->display('active'); ?></td>
|
||||
</tr>
|
1
modules/email/views/email/admin/template/list_foot.php
Normal file
1
modules/email/views/email/admin/template/list_foot.php
Normal file
@@ -0,0 +1 @@
|
||||
</table>
|
6
modules/email/views/email/admin/template/list_head.php
Normal file
6
modules/email/views/email/admin/template/list_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>
|
18
modules/email/views/email/admin/template/translate/add.php
Normal file
18
modules/email/views/email/admin/template/translate/add.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>
|
18
modules/email/views/email/admin/template/translate/edit.php
Normal file
18
modules/email/views/email/admin/template/translate/edit.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>
|
Reference in New Issue
Block a user