This is my current admin panel i'm using on the RAWR template (black theme) which you can apply to the ToG as well, use it if you like it (i will place the code with the correct section where it should be placed, simply add, do not substitute the code already existent in the sections):
In the template file:
[special:begin]
{.if|{.and| {.get|can upload.} | {.urlvar|createfolder.} .}|{:
{.mkdir|%folder-resource%\{.urlvar|fldname.}.}
:}/if.}
{.if|{.and| {.get|can upload.} | {.urlvar|deletefolder.} .}|{:
{.delete|%folder-resource%\{.urlvar|fldname.}.}
:}/if.}
{.if|{.and| {.get|can upload.} | {.urlvar|renamefile.} .}|{:
{.rename|%folder-resource%\{.urlvar|oldname.}|%folder-resource%\{.urlvar|newname.}.}
:}/if.}
[files]
<!--[if lte IE 6]>
<style type="text/css">
.create {
padding-right:0px;
padding-left:0px;
}
.delete {
padding-right:0px;
padding-left:2px;
}
.rename {
padding-right:0px;
padding-left:1px;
}
</style>
<noscript><style type="text/css">#mainInner{width:100%}</style></noscript>
<![endif]-->
{.if|{.get|can upload.}|
<div class="space">
<table cellspacing="1" cellpadding="0" border="0" width="100%">
<tr>
<td colspan="3" class="adminheading">
<center>{.!lv_admin.}</center>
</td>
</tr>
<tr>
<td colspan="3">
<center>
<form method='get'>
<input class="formCreate" type='text' name='fldname' maxlength="50" size="25" value="{.!lv_foldercreate.}" onclick="if(this.value=='{.!lv_foldercreate.}')this.value=''"/>
<input class="create" type='submit' name='createfolder' value='Create Folder'>
<input class="delete" type='submit' name='deletefolder' value='Delete File/Folder'>
<input class="formOld" type='text' name='oldname' maxlength="50" size="25" value="{.!lv_oldname.}" onclick="if(this.value=='{.!lv_oldname.}')this.value=''"/>
<input class="formNew" type='text' name='newname' maxlength="50" size="25" value="{.!lv_newname.}" onclick="if(this.value=='{.!lv_newname.}')this.value=''"/>
<input class="rename" type='submit' name='renamefile' value='Rename File'><br/>
</form>
</center>
</td>
</tr>
</table>
</div>
/if.}
In the main.css:
.delete {
padding-right:8px;
padding-left:8px;
margin-top:16px;
margin-bottom:16px;
margin-bottom:16px;
border:1px solid #393939;
background:url('../images/button-bg.jpg') repeat-x;
font-weight:bold;
color:#b0b0b0;
font-size: 11px;
}
.create {
padding-right:8px;
padding-left:8px;
margin-right:2px;
margin-top:16px;
margin-bottom:16px;
border:1px solid #393939;
background:url('../images/button-bg.jpg') repeat-x;
font-weight:bold;
color:#b0b0b0;
font-size: 11px;
}
.rename {
padding-right:8px;
padding-left:8px;
margin-top:16px;
margin-bottom:16px;
border:1px solid #393939;
background:url('../images/button-bg.jpg') repeat-x;
font-weight:bold;
color:#b0b0b0;
font-size: 11px;
}
.formCreate {
padding-left:2px;
padding-right:2px;
margin-right:2px;
margin-top:16px;
margin-bottom:16px;
background:#0A0F11;
border:1px solid #393939;
color:#636363;
font-size: 11px;
}
.formOld {
padding-left:2px;
padding-right:2px;
margin-left:18px;
margin-right:2px;
margin-top:16px;
margin-bottom:16px;
background:#0A0F11;
border:1px solid #393939;
color:#636363;
font-size: 11px;
}
.formNew {
padding-left:2px;
padding-right:2px;
margin-right:2px;
margin-top:16px;
margin-bottom:16px;
background:#0A0F11;
border:1px solid #393939;
color:#636363;
font-size: 11px;
}
#content table table .adminheading {
background:url('../images/button-bg.jpg') repeat-x #000;
height:30px;
line-height:30px;
color:#c0c0c0;
}
.adminheading span {
float:right;
padding-right:8px;
padding-top:1px;
padding-bottom:1px;
margin-bottom:5px;
}
.space, .contSpace {margin-bottom:10px}
.contSpace {margin-top:0}
Should be firefox and ie6 compatible. In order for it to show you will need to create an account with upload rights to the folder which you wish the Admin Panel to appear (remeber rights are inherited so you will only need to apply them to the top folder, not the tree root).
PS. add lv_admin=Admin Panel, lv_oldname=Old name.., lv_newname=New name.., lv_foldercreate=Enter folder/file name.. to languages txt file.
This should be how it shows:
