Sparkle as WebFTP default, fixes for WebFTP-Templates

This commit is contained in:
BNoiZe
2013-10-14 20:00:35 +02:00
parent 26885b0f35
commit 96faf31618
19 changed files with 359 additions and 329 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -18,9 +18,9 @@
<script type="text/javascript" src="templates/{$theme}/assets/js/main.js"></script> <script type="text/javascript" src="templates/{$theme}/assets/js/main.js"></script>
<title>{$title}Froxlor Server Management Panel</title> <title>{$title}Froxlor Server Management Panel</title>
<style type="text/css"> <style type="text/css">
body { body {
font-family: {if $settings.panel.use_webfonts == 1}{$webfont},{/if} Verdana, Geneva, sans-serif; font-family: {if $settings.panel.use_webfonts == 1}{$webfont},{/if} Verdana, Geneva, sans-serif;
} }
</style> </style>
</head> </head>
<body> <body>
@@ -33,7 +33,9 @@
<img src="{$header_logo}" alt="Froxlor Server Management Panel" /> <img src="{$header_logo}" alt="Froxlor Server Management Panel" />
</header> </header>
<nav>{$navigation}</nav> <nav><div class="menuelement bradiusodd">
<h4>Froxlor WebFTP</h4>
</div>{$navigation}</nav>
{/if} {/if}
{if $loggedin} {if $loggedin}

View File

@@ -1,33 +1,33 @@
<article> <article>
<header> <header>
<h2> <h2>
<img src="templates/{$theme}/assets/img/icons/group_edit.png" alt="" />&nbsp; <img src="templates/{$theme}/assets/img/icons/group_edit.png" alt="" />&nbsp;
{t}Editing{/t}: <a href="webftp.php?action=cd&amp;file={$currentDir}">{$currentDir}</a>/{$file} ({$mode}) {t}Editing{/t}: <a href="webftp.php?action=cd&amp;file={$currentDir}">{$currentDir}</a>/{$file} ({$mode})
</h2> </h2>
</header> </header>
{if isset($successmessage)} {if isset($successmessage)}
<div class="successcontainer bradius"> <div class="successcontainer bradius">
<div class="successtitle">{t}Success{/t}</div> <div class="successtitle">{t}Success{/t}</div>
<div class="success">{$successmessage}</div> <div class="success">{$successmessage}</div>
</div> </div>
{/if} {/if}
{if isset($errormessage)} {if isset($errormessage)}
<div class="errorcontainer bradius"> <div class="errorcontainer bradius">
<div class="errortitle">{t}Error{/t}</div> <div class="errortitle">{t}Error{/t}</div>
<div class="error">{$errormessage}</div> <div class="error">{$errormessage}</div>
</div> </div>
{/if} {/if}
<section > <section >
<form name="editForm" method="POST" action="webftp.php"> <form name="editForm" method="POST" action="webftp.php">
<input type="hidden" name="action" value="edit" /> <input type="hidden" name="action" value="edit" />
<input type="hidden" name="op" value="save" /> <input type="hidden" name="op" value="save" />
<input type="hidden" name="currentDir" value="{$currentDir}" /> <input type="hidden" name="currentDir" value="{$currentDir}" />
<input type="hidden" name="file" value="{$file}" /> <input type="hidden" name="file" value="{$file}" />
<input type="hidden" name="mode" value="{$mode}" /> <input type="hidden" name="mode" value="{$mode}" />
<textarea name="fileContent" cols="80" rows="40" wrap="OFF" id="fileContent">{$myFileContent|escape:'htmlall'}</textarea> <textarea name="fileContent" cols="80" rows="40" wrap="OFF" id="fileContent">{$myFileContent|escape:'htmlall'}</textarea>
<br /> <br />
<input type="submit" name="Submit" value="{t}Save file{/t}" /> <input type="submit" name="Submit" value="{t}Save file{/t}" />
<input type="button" name="Submit2" value="{t}Cancel{/t}" onClick="javascript:document.location.href='webftp.php?action=cd&amp;file={$currentDir}'" /> <input type="button" name="Submit2" value="{t}Cancel{/t}" onClick="javascript:document.location.href='webftp.php?action=cd&amp;file={$currentDir}'" />
</form> </form>
</section> </section>
</article> </article>

View File

@@ -1,34 +1,34 @@
<article> <article>
<header> <header>
<h2> <h2>
<img src="templates/{$theme}/assets/img/icons/group_edit.png" alt="" />&nbsp; <img src="templates/{$theme}/assets/img/icons/group_edit.png" alt="" />&nbsp;
{t}Creating a file in{/t}: <a href="webftp.php?action=cd&amp;file={$currentDir}">{$currentDir}</a> ({$mode}) {t}Creating a file in{/t}: <a href="webftp.php?action=cd&amp;file={$currentDir}">{$currentDir}</a> ({$mode})
</h2> </h2>
</header> </header>
{if isset($successmessage)} {if isset($successmessage)}
<div class="successcontainer bradius"> <div class="successcontainer bradius">
<div class="successtitle">{t}Success{/t}</div> <div class="successtitle">{t}Success{/t}</div>
<div class="success">{$successmessage}</div> <div class="success">{$successmessage}</div>
</div> </div>
{/if} {/if}
{if isset($errormessage)} {if isset($errormessage)}
<div class="errorcontainer bradius"> <div class="errorcontainer bradius">
<div class="errortitle">{t}Error{/t}</div> <div class="errortitle">{t}Error{/t}</div>
<div class="error">{$errormessage}</div> <div class="error">{$errormessage}</div>
</div> </div>
{/if} {/if}
<section > <section >
<form name="editForm" method="POST" action="webftp.php"> <form name="editForm" method="POST" action="webftp.php">
<input type="hidden" name="action" value="edit" /> <input type="hidden" name="action" value="edit" />
<input type="hidden" name="op" value="save" /> <input type="hidden" name="op" value="save" />
<input type="hidden" name="currentDir" value="{$currentDir}"> <input type="hidden" name="currentDir" value="{$currentDir}">
<input type="hidden" name="mode" name="{$mode}"> <input type="hidden" name="mode" name="{$mode}">
<textarea name="fileContent" cols="80" rows="40" id="fileContent"></textarea> <textarea name="fileContent" cols="80" rows="40" id="fileContent"></textarea>
<br /> <br />
<legend for="filename">{t}Filename{/t}:</legend> <legend for="filename">{t}Filename{/t}:</legend>
<input type="text" id="filename" name="file" value="{$file}" /> <input type="text" id="filename" name="file" value="{$file}" />
<input type="submit" name="Submit" value="{t}Save file{/t}" /> <input type="submit" name="Submit" value="{t}Save file{/t}" />
<input type="button" name="Submit2" value="{t}Cancel{/t}" onClick="javascript:document.location.href='webftp.php?action=cd&amp;file={$currentDir}'" /> <input type="button" name="Submit2" value="{t}Cancel{/t}" onClick="javascript:document.location.href='webftp.php?action=cd&amp;file={$currentDir}'" />
</form> </form>
</section> </section>
</article> </article>

View File

@@ -1,43 +1,43 @@
<form name="putmForm" method="POST" action="webftp.php"> <section class="dboarditemfull bradiusodd">
<input type="hidden" name="op" value="delete"/> <form name="putmForm" method="POST" action="webftp.php">
<input type="hidden" name="action" value="multiple" /> <input type="hidden" name="op" value="delete"/>
<input type="hidden" name="currentDir" value="{$currentDir}" /> <input type="hidden" name="action" value="multiple" />
<input type="hidden" name="mode" value="{$mode}" /> <input type="hidden" name="currentDir" value="{$currentDir}" />
<table class="bradius"> <input type="hidden" name="mode" value="{$mode}" />
<thead> <table class="bradiusodd">
<tr> <thead>
<th>&nbsp;</th> <tr>
<th>&nbsp;</th> <th>&nbsp;</th>
<th>{t}Filename{/t}</th> <th>&nbsp;</th>
<th>{t}Size{/t}</th> <th>{t}Filename{/t}</th>
<th>{t}Date{/t}</th> <th>{t}Size{/t}</th>
<th>{t}Permissions{/t}</th> <th>{t}Date{/t}</th>
<th>{t}User{/t}</th> <th>{t}Permissions{/t}</th>
<th>{t}Group{/t}</th> <th>{t}User{/t}</th>
<th colspan="4">{t}Options{/t}</th> <th>{t}Group{/t}</th>
</tr> <th>{t}Options{/t}</th>
</thead> </tr>
<tbody> </thead>
<tr> <tbody>
<td>&nbsp;</td> <tr>
<td> <td>&nbsp;</td>
<a href="webftp.php?action=cd&amp;file=..&amp;currentDir={$currentDir}"><img src="{$image_folder}/icons/parent.gif" height="20" width="20" align="top" border="0"></a> <td>
</td> <a href="webftp.php?action=cd&amp;file=..&amp;currentDir={$currentDir}"><img src="templates/{$theme}/assets/img/icons/parent_20.png" height="20" width="20" align="top" border="0"></a>
<td align="left" colspan="10"> </td>
<a href="webftp.php?action=cd&amp;file=..&amp;currentDir={$currentDir}">..</a> <td align="left" colspan="10">
</td> <a href="webftp.php?action=cd&amp;file=..&amp;currentDir={$currentDir}">..</a>
</tr> </td>
{$output_dir} </tr>
{$output_link} {$output_dir}
{$output_file} {$output_link}
</tbody> {$output_file}
<tfoot> </tbody>
<tr> <tfoot>
<td colspan="12"> <tr>
{t}Files{/t}: <strong>{$countArray.file}</strong>; {t}Complete filesize{/t}: <strong>{$countArray.filesize}</strong>; {t}Symlinks{/t}: <strong>{$countArray.link}</strong>; {t}Directories{/t}: <strong>{$countArray.dir}</strong>; {t}Complete directorysize{/t}: <strong>{$countArray.dirsize}</strong> <td colspan="10">
</td> {t}Files{/t}: <strong>{$countArray.file}</strong>; {t}Complete filesize{/t}: <strong>{$countArray.filesize}</strong>; {t}Symlinks{/t}: <strong>{$countArray.link}</strong>; {t}Directories{/t}: <strong>{$countArray.dir}</strong>; {t}Complete directorysize{/t}: <strong>{$countArray.dirsize}</strong>
</tr> </td>
</tfoot> </tr>
</table> </tfoot>
<br /> </table>
<hr /> </section>

View File

@@ -1,80 +1,85 @@
<article> <article>
<section class="dboarditem bradius"> <section class="dboarditem bradiusodd">
<h2>{t}Basic operations{/t}</h2> <table>
<table> <thead>
<tr> <tr><th>{t}Basic operations{/t}</th></tr>
<td> </thead>
<form name="cdDirect" method="POST" action="webftp.php"> <tr>
<input type="hidden" name="action" value="cddirect" /> <td>
<input type="hidden" name="currentDir" value="{$currentDir}" /> <form name="cdDirect" method="POST" action="webftp.php">
<input type="text" name="file" value="" style="width:170px;" /> <input type="hidden" name="action" value="cddirect" />
<input name="submit" type="submit" style="width: 150;" value="{t}Change dir{/t}" /> <input type="hidden" name="currentDir" value="{$currentDir}" />
</form> <input type="text" name="file" value="" style="width:170px;" />
</td> <input name="submit" type="submit" style="width: 150;" value="{t}Change dir{/t}" />
</tr> </form>
<tr> </td>
<td> </tr>
<form name="dirinput" method="POST" action="webftp.php"> <tr>
<input type="hidden" name="action" value="createdir" /> <td>
<input type="hidden" name="currentDir" value="{$currentDir}" style="width=150;" /> <form name="dirinput" method="POST" action="webftp.php">
<input type="hidden" name="mode" value="{$mode}" /> <input type="hidden" name="action" value="createdir" />
<input type="text" name="file" value="" style="width:170px;" /> <input type="hidden" name="currentDir" value="{$currentDir}" style="width=150;" />
<input name="submit" type="submit" style="width: 150;" value="{t}Create dir{/t}" /> <input type="hidden" name="mode" value="{$mode}" />
</form> <input type="text" name="file" value="" style="width:170px;" />
</td> <input name="submit" type="submit" style="width: 150;" value="{t}Create dir{/t}" />
</tr> </form>
<tr> </td>
<td> </tr>
<form name="newfile" method="POST" action="webftp.php"> <tr>
<input type="hidden" name="currentDir" value="{$currentDir}" /> <td>
<input type="hidden" name="action" value="edit" /> <form name="newfile" method="POST" action="webftp.php">
<input type="hidden" name="op" value="new" /> <input type="hidden" name="currentDir" value="{$currentDir}" />
<input type="text" name="file" value="file.txt" style="width:170px;" /> <input type="hidden" name="action" value="edit" />
<input name="submit" type="submit" style="width: 150;" value="{t}Create new file in current directory{/t}"> <input type="hidden" name="op" value="new" />
</form> <input type="text" name="file" value="file.txt" style="width:170px;" />
</td> <input name="submit" type="submit" style="width: 150;" value="{t}Create new file in current directory{/t}">
</tr> </form>
</table> </td>
</section> </tr>
<section class="dboarditem bradius"> </table>
<h2>{t}Upload files{/t}</h2> </section>
<form name="putForm" enctype="multipart/form-data" method="POST" action="webftp.php"> <section class="dboarditem bradiusodd">
<input type="hidden" name="action" value="put" /> <form name="putForm" enctype="multipart/form-data" method="POST" action="webftp.php">
<input type="hidden" name="currentDir" value="{$currentDir}" /> <input type="hidden" name="action" value="put" />
<input type="hidden" name="mode" value="{$mode}" /> <input type="hidden" name="currentDir" value="{$currentDir}" />
<table> <input type="hidden" name="mode" value="{$mode}" />
<tr> <table>
<td valign="top"> <thead>
<input type="file" name="file1" /> <tr>
</td> <th>{t}Upload files{/t}</th>
</tr> </tr>
<tr> </thead>
<td valign="top"> <tr>
<input type="file" name="file2" /> <td valign="top">
</td> <input type="file" name="file1" />
</tr> </td>
<tr> </tr>
<td valign="top"> <tr>
<input type="file" name="file3" /> <td valign="top">
</td> <input type="file" name="file2" />
</tr> </td>
<tr> </tr>
<td valign="top"> <tr>
<input type="file" name="file4" /> <td valign="top">
</td> <input type="file" name="file3" />
</tr> </td>
<tr> </tr>
<td valign="top"> <tr>
<input type="file" name="file5" /> <td valign="top">
</td> <input type="file" name="file4" />
</tr> </td>
<tr> </tr>
<td valign="top"> <tr>
<input name="submit2" type="submit" style="width: 150;" value="{t}Upload file(s){/t}"> <td valign="top">
</td> <input type="file" name="file5" />
</tr> </td>
</table> </tr>
</form> <tr>
</section> <td valign="top" align="right">
<br /> <input name="submit2" type="submit" style="width: 150;" value="{t}Upload file(s){/t}">
<section class="dboarditemfull bradius"> </td>
</tr>
</table>
</form>
</section>
<br />

View File

@@ -1,14 +1,18 @@
<tr {$checked_color}> <tr {$checked_color}>
<td><input type="checkbox" name="file[]" value="{$myDir.name}" {$checked} /></td> <td><input type="checkbox" name="file[]" value="{$myDir.name}" {$checked} /></td>
<td><a href="webftp.php?action=cd&amp;file={$myDir.name}&amp;currentDir={$currentDir}"><img src="{$image_folder}/icons/folder.gif" align="top" border="0" /></a></td> <td><a href="webftp.php?action=cd&amp;file={$myDir.name}&amp;currentDir={$currentDir}"><img src="templates/{$theme}/assets/img/icons/folder_20.png" align="top" border="0" /></a></td>
<td><a href="webftp.php?action=cd&amp;file={$myDir.name}&amp;currentDir={$currentDir}">{$myDir.name}</a></td> <td><a href="webftp.php?action=cd&amp;file={$myDir.name}&amp;currentDir={$currentDir}">{$myDir.name}</a></td>
<td align=right>{$myDir.size}</td> <td align=right>{$myDir.size}</td>
<td>{$myDir.date}</td> <td>{$myDir.date}</td>
<td>{$myDir.perms}</td> <td>{$myDir.perms}</td>
<td>{$myDir.user}</td> <td>{$myDir.user}</td>
<td>{$myDir.group}</td> <td>{$myDir.group}</td>
<td><a href="webftp.php?action=deldir&amp;file={$myDir.name}&amp;currentDir={$currentDir}"><img src="{$image_folder}/icons/delete.png" border="0" alt="{t}Delete{/t}" /></a></td> <td>
<td><a href="webftp.php?action=rename&amp;op=show&amp;file={$myDir.name}&amp;currentDir={$currentDir}"><img src="{$image_folder}/icons/rename.gif" border="0" alt="{t}Rename{/t}" /></a></td> <a href="webftp.php?action=deldir&amp;file={$myDir.name}&amp;currentDir={$currentDir}">
<td>&nbsp;</td> <img src="templates/{$theme}/assets/img/icons/delete_20.png" border="0" alt="{t}Delete{/t}" />
<td>&nbsp;</td> </a>&nbsp;
</tr> <a href="webftp.php?action=rename&amp;op=show&amp;file={$myDir.name}&amp;currentDir={$currentDir}">
<img src="templates/{$theme}/assets/img/icons/rename_20.png" border="0" alt="{t}Rename{/t}" />
</a>
</td>
</tr>

View File

@@ -1,14 +1,23 @@
<tr {$checked_color}> <tr {$checked_color}>
<td><input type="checkbox" name="file[]" value="{$myDir.name}" {$checked} /></td> <td><input type="checkbox" name="file[]" value="{$myDir.name}" {$checked} /></td>
<td><a href="webftp.php?action=get&amp;file={$myDir.name}&amp;currentDir={$currentDir}"><img src="{$image_folder}/icons/file.gif" align="top" border="0" /></a></td> <td><a href="webftp.php?action=get&amp;file={$myDir.name}&amp;currentDir={$currentDir}"><img src="templates/{$theme}/assets/img/icons/file_20.png" align="top" border="0" /></a></td>
<td><a href="webftp.php?action=get&amp;file={$myDir.name}&amp;currentDir={$currentDir}">{$myDir.name}</a></td> <td><a href="webftp.php?action=get&amp;file={$myDir.name}&amp;currentDir={$currentDir}">{$myDir.name}</a></td>
<td align=right>{$myDir.size}</td> <td align=right>{$myDir.size}</td>
<td>{$myDir.date}</td> <td>{$myDir.date}</td>
<td>{$myDir.perms}</td> <td>{$myDir.perms}</td>
<td>{$myDir.user}</td> <td>{$myDir.user}</td>
<td>{$myDir.group}</td> <td>{$myDir.group}</td>
<td><a href="webftp.php?action=delfile&amp;file={$myDir.name}&amp;currentDir={$currentDir}"><img src="{$image_folder}/icons/delete.png" border="0" alt="{t}Delete{/t}"></a></td> <td>
<td><a href="webftp.php?action=rename&amp;op=show&amp;file={$myDir.name}&currentDir={$currentDir}"><img src="{$image_folder}/icons/rename.gif" border="0" alt="{t}Rename{/t}"></a></td> <a href="webftp.php?action=delfile&amp;file={$myDir.name}&amp;currentDir={$currentDir}">
<td>{if $editable}<a href="webftp.php?action=edit&amp;op=open&amp;file={$myDir.name}&amp;currentDir={$currentDir}"><img src="{$image_folder}/icons/edit.png" border="0" alt="{t}Edit{/t}"></a>{/if}</td> <img src="templates/{$theme}/assets/img/icons/delete_20.png" border="0" alt="{t}Delete{/t}">
<td>&nbsp;</td> </a>&nbsp;
<a href="webftp.php?action=rename&amp;op=show&amp;file={$myDir.name}&currentDir={$currentDir}">
<img src="templates/{$theme}/assets/img/icons/rename_20.png" border="0" alt="{t}Rename{/t}">
</a>&nbsp;
{if $editable}
<a href="webftp.php?action=edit&amp;op=open&amp;file={$myDir.name}&amp;currentDir={$currentDir}">
<img src="templates/{$theme}/assets/img/icons/edit_20.png" border="0" alt="{t}Edit{/t}">
</a>
{/if}
</td>
</tr> </tr>

View File

@@ -1,19 +1,19 @@
<article> <article>
<header> <header>
<h2> <h2>
<img src="templates/{$theme}/assets/img/icons/group_edit.png" alt="" />&nbsp; <img src="templates/{$theme}/assets/img/icons/group_edit_big.png" alt="" />&nbsp;
{$connected_to} ({$mode}) {$connected_to} ({$mode})
</h2> </h2>
</header> </header>
{if isset($successmessage)} {if isset($successmessage)}
<div class="successcontainer bradius"> <div class="successcontainer bradius">
<div class="successtitle">{t}Success{/t}</div> <div class="successtitle">{t}Success{/t}</div>
<div class="success">{$successmessage|escape:'htmlall'|nl2br}</div> <div class="success">{$successmessage|escape:'htmlall'|nl2br}</div>
</div> </div>
{/if} {/if}
{if isset($errormessage)} {if isset($errormessage)}
<div class="errorcontainer bradius"> <div class="errorcontainer bradius">
<div class="errortitle">{t}Error{/t}</div> <div class="errortitle">{t}Error{/t}</div>
<div class="error">{$errormessage|escape:'htmlall'|nl2br}</div> <div class="error">{$errormessage|escape:'htmlall'|nl2br}</div>
</div> </div>
{/if} {/if}

View File

@@ -1,13 +1,19 @@
<tr {$checked_color}> <tr {$checked_color}>
<td><input type="checkbox" name="file[]" value="{$myDir.name}" {$checked} /></td> <td><input type="checkbox" name="file[]" value="{$myDir.name}" {$checked} /></td>
<td><a href="webftp.php?action=cd&amp;file={$myDir.name}&amp;currentDir={$currentDir}"><img src="{$image_folder}/icons/link.gif" align="top" border="0" /></a></td> <td><a href="webftp.php?action=cd&amp;file={$myDir.name}&amp;currentDir={$currentDir}"><img src="templates/{$theme}/assets/img/icons/link_20.png" align="top" border="0" /></a></td>
<td><a href="webftp.php?action=cd&amp;file={$myDir.name}&amp;currentDir={$currentDir}">{$myDir.name}</a></td> <td><a href="webftp.php?action=cd&amp;file={$myDir.name}&amp;currentDir={$currentDir}">{$myDir.name}</a></td>
<td align=right>{$myDir.size}</td> <td align=right>{$myDir.size}</td>
<td>{$myDir.date}</td> <td>{$myDir.date}</td>
<td>{$myDir.perms}</td> <td>{$myDir.perms}</td>
<td>{$myDir.user}</td> <td>{$myDir.user}</td>
<td>{$myDir.group}</td> <td>{$myDir.group}</td>
<td><a href="webftp.php?action=deldir&amp;file={$myDir.name}&amp;currentDir={$currentDir}"><img src="{$image_folder}/icons/delete.png" border="0" alt="{t}Delete{/t}"></a></td> <td>
<td><a href="webftp.php?action=rename&amp;op=show&amp;file={$myDir.name}&currentDir={$currentDir}"><img src="{$image_folder}/icons/rename.gif" border="0" alt="{t}Rename{/t}"></a></td> <a href="webftp.php?action=deldir&amp;file={$myDir.name}&amp;currentDir={$currentDir}">
<td colspan="2">{t}Symbolic link to{/t}: {$myDir.target}&nbsp;</td> <img src="templates/{$theme}/assets/img/icons/delete_20.png" border="0" alt="{t}Delete{/t}">
</a>&nbsp;
<a href="webftp.php?action=rename&amp;op=show&amp;file={$myDir.name}&currentDir={$currentDir}">
<img src="templates/{$theme}/assets/img/icons/rename_20.png" border="0" alt="{t}Rename{/t}">
</a><br />
<small>{t}Symbolic link to{/t}: {$myDir.target}</small>
</td>
</tr> </tr>

View File

@@ -1,30 +1,35 @@
<table cellpadding="0" cellspacing="0"> <section class="dboarditemfull bradiusodd">
<tr> <table cellpadding="0" cellspacing="0">
<td colspan="10" align="left">{t}Selected file(s){/t}:</td> <thead>
</tr> <tr>
<tr> <th colspan="10" align="left">{t}Selected file(s){/t}:</th>
<td colspan="10" align="left"> </tr>
<input type="radio" name="op" value="delete" />{t}Delete{/t} </thead>
</td> <tr>
</tr> <td colspan="10" align="left">
<tr> <input type="radio" name="op" value="delete" />{t}Delete{/t}
<td colspan="10" align="left"> </td>
<input name="op" type="radio" value="chmod" /> </tr>
<input type="text" name="chmod" value="755" maxlength="3" size="5" />{t}Change permission to{/t} <tr>
</td> <td colspan="10" align="left">
</tr> <input name="op" type="radio" value="chmod" />
<tr> {t}Change permission to{/t}<input type="text" name="chmod" value="755" maxlength="3" size="5" />
<td colspan="10" align="left"> </td>
<input name="op" type="radio" value="move" checked="checked" /> </tr>
<input name="move_to" type="text" id="move_to" value="{$currentDir}" size="30" />{t}Move to{/t} <tr>
</td> <td colspan="10" align="left">
</tr> <input name="op" type="radio" value="move" checked="checked" />
<tr> {t}Move to{/t}<input name="move_to" type="text" id="move_to" value="{$currentDir}" size="30" />
<td colspan="10" align="left"> </td>
<input type="submit" name="submit" value="{t}Do it{/t}" /> </tr>
</td> <tfoot>
</tr> <tr>
</table> <td colspan="10" align="left">
</form> <input type="submit" name="submit" value="{t}Do it{/t}" />
</section> </td>
</tr>
</tfoot>
</table>
</form>
</section>
</article> </article>

View File

@@ -1,26 +1,26 @@
<style type="text/css"> <style type="text/css">
<!-- <!--
.Stil1 { .Stil1 {
color: #FF0000; color: #FF0000;
font-weight: bold; font-weight: bold;
} }
--> -->
</style> </style>
<table cellpadding="0" cellspacing="0"> <table cellpadding="0" cellspacing="0" class="bradius">
<tr> <tr>
<td colspan="10" align="left"><span class="Stil1">{$action_text|escape:'htmlall'|nl2br}</span></td> <td colspan="10" align="left"><span class="Stil1">{$action_text|escape:'htmlall'|nl2br}</span></td>
</tr> </tr>
<tr> <tr>
<td colspan="10" align="left"> <td colspan="10" align="left">
&nbsp;<input type="hidden" name="chmod" value="{$chmod}" /> &nbsp;<input type="hidden" name="chmod" value="{$chmod}" />
<input type="hidden" name="move_to" value="{$move_to}" /> <input type="hidden" name="move_to" value="{$move_to}" />
<input type="hidden" name="action" value="multiple"> <input type="hidden" name="action" value="multiple">
<input type="hidden" name="op" value="{$op}" /> <input type="hidden" name="op" value="{$op}" />
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="10" align="left"><input type="submit" name="yes" value="{t}Yes{/t}"><input type="submit" name="no" value="{t}No{/t}"></td> <td colspan="10" align="left"><input type="submit" name="yes" value="{t}Yes{/t}"><input type="submit" name="no" value="{t}No{/t}"></td>
</tr> </tr>
</tr> </tr>
</table> </table>
</form> </form>

View File

@@ -1,20 +1,19 @@
<table border="0" cellspacing="2" cellpadding="2"> <table border="0" cellspacing="2" cellpadding="2" class="bradius">
<form name="rename" method="post" action="webftp.php"> <form name="rename" method="post" action="webftp.php">
<tr> <tr>
<td> <td>
<input type="hidden" name="op" value="do" /> <input type="hidden" name="op" value="do" />
<input type="hidden" name="action" value="rename" /> <input type="hidden" name="action" value="rename" />
<input type="hidden" name="file" value="{$file}" /> <input type="hidden" name="file" value="{$file}" />
<input type="hidden" name="currentDir" value="{$currentDir}" /> <input type="hidden" name="currentDir" value="{$currentDir}" />
{$rename_text} {$rename_text}
</td> </td>
<td> <td>
<input type="text" name="file2" value="{$file}" /> <input type="text" name="file2" value="{$file}" />
</td> </td>
<td> <td>
<input type="submit" name="submit" value="{t}Rename / Move{/t}"> <input type="submit" name="submit" value="{t}Rename / Move{/t}">
</td> </td>
</tr> </tr>
</form> </form>
</table> </table>
<hr />

View File

@@ -70,7 +70,7 @@ if(function_exists("date_default_timezone_set") && function_exists("date_default
// Load the database - connection parameters // Load the database - connection parameters
if(!file_exists('./lib/userdata.inc.php')) if(!file_exists('./lib/userdata.inc.php'))
{ {
$config_hint = file_get_contents('./templates/Froxlor/misc/configurehint.tpl'); $config_hint = file_get_contents('./templates/Sparkle/misc/configurehint.tpl');
die($config_hint); die($config_hint);
} }
@@ -83,7 +83,7 @@ require ('./lib/userdata.inc.php');
if(!isset($sql) || !is_array($sql)) if(!isset($sql) || !is_array($sql))
{ {
$config_hint = file_get_contents('./templates/Froxlor/misc/configurehint.tpl'); $config_hint = file_get_contents('./templates/Sparkle/misc/configurehint.tpl');
die($config_hint); die($config_hint);
} }
@@ -114,7 +114,7 @@ else
} }
*/ */
// Until we have other themes: enforce the Froxlor - layout // Until we have other themes: enforce the Froxlor - layout
$settings['panel']['default_theme'] = 'Froxlor'; $settings['panel']['default_theme'] = 'Sparkle';
// Initialize Smarty // Initialize Smarty
include('./lib/classes/Smarty/Smarty.class.php'); include('./lib/classes/Smarty/Smarty.class.php');