diff options
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/admin_aside.tpl | 1 | ||||
-rw-r--r-- | view/tpl/admin_profiles.tpl | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/view/tpl/admin_aside.tpl b/view/tpl/admin_aside.tpl index ab190fc95..da762a094 100755 --- a/view/tpl/admin_aside.tpl +++ b/view/tpl/admin_aside.tpl @@ -21,6 +21,7 @@ <li><a href='{{$admin.plugins.0}}'>{{$admin.plugins.1}}</a></li> <li><a href='{{$admin.themes.0}}'>{{$admin.themes.1}}</a></li> <li><a href='{{$admin.features.0}}'>{{$admin.features.1}}</a></li> + <li><a href='{{$admin.profs.0}}'>{{$admin.profs.1}}</a></li> <li><a href='{{$admin.dbsync.0}}'>{{$admin.dbsync.1}}</a></li> </ul> </div> diff --git a/view/tpl/admin_profiles.tpl b/view/tpl/admin_profiles.tpl new file mode 100644 index 000000000..70fcc303b --- /dev/null +++ b/view/tpl/admin_profiles.tpl @@ -0,0 +1,31 @@ +<div class="generic-content-wrapper"> +<h2>{{$title}}</h2> + +<form action="admin/profs" method="post"> + +{{include file="field_textarea.tpl" field=$basic}} +{{include file="field_textarea.tpl" field=$advanced}} + +<input type="submit" name="submit" value="{{$submit}}" /> + +</form> + +<div>{{$all_desc}}</div> + +<div>{{$all}}</div> + +<br /><br /> +<div>{{$cust_field_desc}}</div> + +<button href="admin/profs/new">{{$new}}</button> + +{{if $cust_fields}} +<table> +{{foreach $cust_fields as $field}} +<tr><td>{{$field.field_desc}}</td><td>{{$field.field_name}}</td><td><a href="admin/profs/{{$field.id}}" >{{$edit}}</a> <a href="admin/profs/drop/{{$field.id}}">{{$drop}}</a></td></tr> +{{/foreach}} +</table> +{{/if}} + + +</div> |