OSB enhancements to date
This commit is contained in:
4
modules/module/views/module/admin/list_body.php
Normal file
4
modules/module/views/module/admin/list_body.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<tr>
|
||||
<td><a href="<?php echo URL::site(sprintf('/admin/module/edit/%s',$module->id)); ?>" alt=""><?php echo $module->name; ?></a></td>
|
||||
<td><?php echo $module->display('status'); ?></td>
|
||||
</tr>
|
1
modules/module/views/module/admin/list_footer.php
Normal file
1
modules/module/views/module/admin/list_footer.php
Normal file
@@ -0,0 +1 @@
|
||||
</table>
|
6
modules/module/views/module/admin/list_header.php
Normal file
6
modules/module/views/module/admin/list_header.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<!-- //@todo Translation required -->
|
||||
<table class="box-left">
|
||||
<tr class="head">
|
||||
<td>Module</td>
|
||||
<td>Active</td>
|
||||
</tr>
|
21
modules/module/views/module/admin/method_add.php
Normal file
21
modules/module/views/module/admin/method_add.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php echo Form::open(); ?>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="head">Module</td>
|
||||
<td><?php echo $module->name; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">Name</td>
|
||||
<td><?php echo $method->name; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">Notes</td>
|
||||
<td><?php echo Form::input('notes',$method->name); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head">Menu Display</td>
|
||||
<td><?php echo StaticList_YesNo::form('menu_display',0); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php echo Form::submit('submit',_('Add')); ?>
|
||||
<?php echo Form::close(); ?>
|
8
modules/module/views/module/admin/method_detail_body.php
Normal file
8
modules/module/views/module/admin/method_detail_body.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<tr>
|
||||
<td>
|
||||
<a href="<?php echo URL::site(sprintf('/admin/group/edit/%s',$group->id)); ?>"><?php echo $group->display('name'); ?></a>
|
||||
</td>
|
||||
<td><?php echo $group->display('notes'); ?></td>
|
||||
<td><?php echo $group->display('status'); ?></td>
|
||||
<td><?php echo Form::checkbox('groups[]',$group->id,$defined); ?></td>
|
||||
</tr>
|
@@ -0,0 +1 @@
|
||||
</table>
|
@@ -0,0 +1,8 @@
|
||||
<!-- //@todo Translation required -->
|
||||
<table class="box-left">
|
||||
<tr class="head">
|
||||
<td>Method</td>
|
||||
<td>Notes</td>
|
||||
<td>Group Active</td>
|
||||
<td>Method Enabled</td>
|
||||
</tr>
|
11
modules/module/views/module/admin/method_list_body.php
Normal file
11
modules/module/views/module/admin/method_list_body.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<tr>
|
||||
<td>
|
||||
<?php if ($defined) { ?>
|
||||
<a href="<?php echo URL::site(sprintf('/admin/module_method/edit/%s',$method->id)); ?>" alt=""><?php echo $method->name; ?></a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo URL::site(sprintf('/admin/module_method/add/%s/%s',$module->id,$method->name)); ?>" alt=""><?php echo $method->name; ?></a>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td><?php echo $method->display('notes'); ?></td>
|
||||
<td><?php echo $method->display('menu_display'); ?></td>
|
||||
</tr>
|
1
modules/module/views/module/admin/method_list_footer.php
Normal file
1
modules/module/views/module/admin/method_list_footer.php
Normal file
@@ -0,0 +1 @@
|
||||
</table>
|
7
modules/module/views/module/admin/method_list_header.php
Normal file
7
modules/module/views/module/admin/method_list_header.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<!-- //@todo Translation required -->
|
||||
<table class="box-left">
|
||||
<tr class="head">
|
||||
<td>Method</td>
|
||||
<td>Notes</td>
|
||||
<td>Menu</td>
|
||||
</tr>
|
3
modules/module/views/module/admin/method_list_spacer.php
Normal file
3
modules/module/views/module/admin/method_list_spacer.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<tr class="spacer">
|
||||
<td> </td>
|
||||
</tr>
|
Reference in New Issue
Block a user