Sparkle as WebFTP default, fixes for WebFTP-Templates
This commit is contained in:
BIN
templates/Sparkle/assets/img/icons/delete_20.png
vendored
Normal file
BIN
templates/Sparkle/assets/img/icons/delete_20.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
BIN
templates/Sparkle/assets/img/icons/edit_20.png
vendored
Normal file
BIN
templates/Sparkle/assets/img/icons/edit_20.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
BIN
templates/Sparkle/assets/img/icons/file_20.png
vendored
Normal file
BIN
templates/Sparkle/assets/img/icons/file_20.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
BIN
templates/Sparkle/assets/img/icons/folder_20.png
vendored
Normal file
BIN
templates/Sparkle/assets/img/icons/folder_20.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
BIN
templates/Sparkle/assets/img/icons/parent_20.png
vendored
Normal file
BIN
templates/Sparkle/assets/img/icons/parent_20.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
BIN
templates/Sparkle/assets/img/icons/rename_20.png
vendored
Normal file
BIN
templates/Sparkle/assets/img/icons/rename_20.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
10
templates/Sparkle/index.tpl
vendored
10
templates/Sparkle/index.tpl
vendored
@@ -18,9 +18,9 @@
|
||||
<script type="text/javascript" src="templates/{$theme}/assets/js/main.js"></script>
|
||||
<title>{$title}Froxlor Server Management Panel</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-family: {if $settings.panel.use_webfonts == 1}{$webfont},{/if} Verdana, Geneva, sans-serif;
|
||||
}
|
||||
body {
|
||||
font-family: {if $settings.panel.use_webfonts == 1}{$webfont},{/if} Verdana, Geneva, sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -33,7 +33,9 @@
|
||||
<img src="{$header_logo}" alt="Froxlor Server Management Panel" />
|
||||
</header>
|
||||
|
||||
<nav>{$navigation}</nav>
|
||||
<nav><div class="menuelement bradiusodd">
|
||||
<h4>Froxlor WebFTP</h4>
|
||||
</div>{$navigation}</nav>
|
||||
{/if}
|
||||
|
||||
{if $loggedin}
|
||||
|
||||
66
templates/Sparkle/webftp/webftp_edit.tpl
vendored
66
templates/Sparkle/webftp/webftp_edit.tpl
vendored
@@ -1,33 +1,33 @@
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/group_edit.png" alt="" />
|
||||
{t}Editing{/t}: <a href="webftp.php?action=cd&file={$currentDir}">{$currentDir}</a>/{$file} ({$mode})
|
||||
</h2>
|
||||
</header>
|
||||
{if isset($successmessage)}
|
||||
<div class="successcontainer bradius">
|
||||
<div class="successtitle">{t}Success{/t}</div>
|
||||
<div class="success">{$successmessage}</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($errormessage)}
|
||||
<div class="errorcontainer bradius">
|
||||
<div class="errortitle">{t}Error{/t}</div>
|
||||
<div class="error">{$errormessage}</div>
|
||||
</div>
|
||||
{/if}
|
||||
<section >
|
||||
<form name="editForm" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="edit" />
|
||||
<input type="hidden" name="op" value="save" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="hidden" name="file" value="{$file}" />
|
||||
<input type="hidden" name="mode" value="{$mode}" />
|
||||
<textarea name="fileContent" cols="80" rows="40" wrap="OFF" id="fileContent">{$myFileContent|escape:'htmlall'}</textarea>
|
||||
<br />
|
||||
<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&file={$currentDir}'" />
|
||||
</form>
|
||||
</section>
|
||||
</article>
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/group_edit.png" alt="" />
|
||||
{t}Editing{/t}: <a href="webftp.php?action=cd&file={$currentDir}">{$currentDir}</a>/{$file} ({$mode})
|
||||
</h2>
|
||||
</header>
|
||||
{if isset($successmessage)}
|
||||
<div class="successcontainer bradius">
|
||||
<div class="successtitle">{t}Success{/t}</div>
|
||||
<div class="success">{$successmessage}</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($errormessage)}
|
||||
<div class="errorcontainer bradius">
|
||||
<div class="errortitle">{t}Error{/t}</div>
|
||||
<div class="error">{$errormessage}</div>
|
||||
</div>
|
||||
{/if}
|
||||
<section >
|
||||
<form name="editForm" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="edit" />
|
||||
<input type="hidden" name="op" value="save" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="hidden" name="file" value="{$file}" />
|
||||
<input type="hidden" name="mode" value="{$mode}" />
|
||||
<textarea name="fileContent" cols="80" rows="40" wrap="OFF" id="fileContent">{$myFileContent|escape:'htmlall'}</textarea>
|
||||
<br />
|
||||
<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&file={$currentDir}'" />
|
||||
</form>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
66
templates/Sparkle/webftp/webftp_edit_new.tpl
vendored
66
templates/Sparkle/webftp/webftp_edit_new.tpl
vendored
@@ -1,34 +1,34 @@
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/group_edit.png" alt="" />
|
||||
{t}Creating a file in{/t}: <a href="webftp.php?action=cd&file={$currentDir}">{$currentDir}</a> ({$mode})
|
||||
</h2>
|
||||
</header>
|
||||
{if isset($successmessage)}
|
||||
<div class="successcontainer bradius">
|
||||
<div class="successtitle">{t}Success{/t}</div>
|
||||
<div class="success">{$successmessage}</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($errormessage)}
|
||||
<div class="errorcontainer bradius">
|
||||
<div class="errortitle">{t}Error{/t}</div>
|
||||
<div class="error">{$errormessage}</div>
|
||||
</div>
|
||||
{/if}
|
||||
<section >
|
||||
<form name="editForm" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="edit" />
|
||||
<input type="hidden" name="op" value="save" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}">
|
||||
<input type="hidden" name="mode" name="{$mode}">
|
||||
<textarea name="fileContent" cols="80" rows="40" id="fileContent"></textarea>
|
||||
<br />
|
||||
<legend for="filename">{t}Filename{/t}:</legend>
|
||||
<input type="text" id="filename" name="file" value="{$file}" />
|
||||
<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&file={$currentDir}'" />
|
||||
</form>
|
||||
</section>
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/group_edit.png" alt="" />
|
||||
{t}Creating a file in{/t}: <a href="webftp.php?action=cd&file={$currentDir}">{$currentDir}</a> ({$mode})
|
||||
</h2>
|
||||
</header>
|
||||
{if isset($successmessage)}
|
||||
<div class="successcontainer bradius">
|
||||
<div class="successtitle">{t}Success{/t}</div>
|
||||
<div class="success">{$successmessage}</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($errormessage)}
|
||||
<div class="errorcontainer bradius">
|
||||
<div class="errortitle">{t}Error{/t}</div>
|
||||
<div class="error">{$errormessage}</div>
|
||||
</div>
|
||||
{/if}
|
||||
<section >
|
||||
<form name="editForm" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="edit" />
|
||||
<input type="hidden" name="op" value="save" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}">
|
||||
<input type="hidden" name="mode" name="{$mode}">
|
||||
<textarea name="fileContent" cols="80" rows="40" id="fileContent"></textarea>
|
||||
<br />
|
||||
<legend for="filename">{t}Filename{/t}:</legend>
|
||||
<input type="text" id="filename" name="file" value="{$file}" />
|
||||
<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&file={$currentDir}'" />
|
||||
</form>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
86
templates/Sparkle/webftp/webftp_main.tpl
vendored
86
templates/Sparkle/webftp/webftp_main.tpl
vendored
@@ -1,43 +1,43 @@
|
||||
<form name="putmForm" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="op" value="delete"/>
|
||||
<input type="hidden" name="action" value="multiple" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="hidden" name="mode" value="{$mode}" />
|
||||
<table class="bradius">
|
||||
<thead>
|
||||
<tr>
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
<th>{t}Filename{/t}</th>
|
||||
<th>{t}Size{/t}</th>
|
||||
<th>{t}Date{/t}</th>
|
||||
<th>{t}Permissions{/t}</th>
|
||||
<th>{t}User{/t}</th>
|
||||
<th>{t}Group{/t}</th>
|
||||
<th colspan="4">{t}Options{/t}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<a href="webftp.php?action=cd&file=..&currentDir={$currentDir}"><img src="{$image_folder}/icons/parent.gif" height="20" width="20" align="top" border="0"></a>
|
||||
</td>
|
||||
<td align="left" colspan="10">
|
||||
<a href="webftp.php?action=cd&file=..&currentDir={$currentDir}">..</a>
|
||||
</td>
|
||||
</tr>
|
||||
{$output_dir}
|
||||
{$output_link}
|
||||
{$output_file}
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="12">
|
||||
{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>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<br />
|
||||
<hr />
|
||||
<section class="dboarditemfull bradiusodd">
|
||||
<form name="putmForm" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="op" value="delete"/>
|
||||
<input type="hidden" name="action" value="multiple" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="hidden" name="mode" value="{$mode}" />
|
||||
<table class="bradiusodd">
|
||||
<thead>
|
||||
<tr>
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
<th>{t}Filename{/t}</th>
|
||||
<th>{t}Size{/t}</th>
|
||||
<th>{t}Date{/t}</th>
|
||||
<th>{t}Permissions{/t}</th>
|
||||
<th>{t}User{/t}</th>
|
||||
<th>{t}Group{/t}</th>
|
||||
<th>{t}Options{/t}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<a href="webftp.php?action=cd&file=..&currentDir={$currentDir}"><img src="templates/{$theme}/assets/img/icons/parent_20.png" height="20" width="20" align="top" border="0"></a>
|
||||
</td>
|
||||
<td align="left" colspan="10">
|
||||
<a href="webftp.php?action=cd&file=..&currentDir={$currentDir}">..</a>
|
||||
</td>
|
||||
</tr>
|
||||
{$output_dir}
|
||||
{$output_link}
|
||||
{$output_file}
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="10">
|
||||
{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>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
165
templates/Sparkle/webftp/webftp_main_additional.tpl
vendored
165
templates/Sparkle/webftp/webftp_main_additional.tpl
vendored
@@ -1,80 +1,85 @@
|
||||
<article>
|
||||
<section class="dboarditem bradius">
|
||||
<h2>{t}Basic operations{/t}</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<form name="cdDirect" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="cddirect" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="text" name="file" value="" style="width:170px;" />
|
||||
<input name="submit" type="submit" style="width: 150;" value="{t}Change dir{/t}" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form name="dirinput" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="createdir" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" style="width=150;" />
|
||||
<input type="hidden" name="mode" value="{$mode}" />
|
||||
<input type="text" name="file" value="" style="width:170px;" />
|
||||
<input name="submit" type="submit" style="width: 150;" value="{t}Create dir{/t}" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form name="newfile" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="hidden" name="action" value="edit" />
|
||||
<input type="hidden" name="op" value="new" />
|
||||
<input type="text" name="file" value="file.txt" style="width:170px;" />
|
||||
<input name="submit" type="submit" style="width: 150;" value="{t}Create new file in current directory{/t}">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
<section class="dboarditem bradius">
|
||||
<h2>{t}Upload files{/t}</h2>
|
||||
<form name="putForm" enctype="multipart/form-data" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="put" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="hidden" name="mode" value="{$mode}" />
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file1" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file2" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file3" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file4" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file5" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input name="submit2" type="submit" style="width: 150;" value="{t}Upload file(s){/t}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</section>
|
||||
<br />
|
||||
<section class="dboarditemfull bradius">
|
||||
<article>
|
||||
<section class="dboarditem bradiusodd">
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>{t}Basic operations{/t}</th></tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td>
|
||||
<form name="cdDirect" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="cddirect" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="text" name="file" value="" style="width:170px;" />
|
||||
<input name="submit" type="submit" style="width: 150;" value="{t}Change dir{/t}" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form name="dirinput" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="createdir" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" style="width=150;" />
|
||||
<input type="hidden" name="mode" value="{$mode}" />
|
||||
<input type="text" name="file" value="" style="width:170px;" />
|
||||
<input name="submit" type="submit" style="width: 150;" value="{t}Create dir{/t}" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form name="newfile" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="hidden" name="action" value="edit" />
|
||||
<input type="hidden" name="op" value="new" />
|
||||
<input type="text" name="file" value="file.txt" style="width:170px;" />
|
||||
<input name="submit" type="submit" style="width: 150;" value="{t}Create new file in current directory{/t}">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
<section class="dboarditem bradiusodd">
|
||||
<form name="putForm" enctype="multipart/form-data" method="POST" action="webftp.php">
|
||||
<input type="hidden" name="action" value="put" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
<input type="hidden" name="mode" value="{$mode}" />
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{t}Upload files{/t}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file1" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file2" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file3" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file4" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<input type="file" name="file5" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" align="right">
|
||||
<input name="submit2" type="submit" style="width: 150;" value="{t}Upload file(s){/t}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</section>
|
||||
<br />
|
||||
|
||||
32
templates/Sparkle/webftp/webftp_main_dir_row.tpl
vendored
32
templates/Sparkle/webftp/webftp_main_dir_row.tpl
vendored
@@ -1,14 +1,18 @@
|
||||
<tr {$checked_color}>
|
||||
<td><input type="checkbox" name="file[]" value="{$myDir.name}" {$checked} /></td>
|
||||
<td><a href="webftp.php?action=cd&file={$myDir.name}&currentDir={$currentDir}"><img src="{$image_folder}/icons/folder.gif" align="top" border="0" /></a></td>
|
||||
<td><a href="webftp.php?action=cd&file={$myDir.name}&currentDir={$currentDir}">{$myDir.name}</a></td>
|
||||
<td align=right>{$myDir.size}</td>
|
||||
<td>{$myDir.date}</td>
|
||||
<td>{$myDir.perms}</td>
|
||||
<td>{$myDir.user}</td>
|
||||
<td>{$myDir.group}</td>
|
||||
<td><a href="webftp.php?action=deldir&file={$myDir.name}&currentDir={$currentDir}"><img src="{$image_folder}/icons/delete.png" border="0" alt="{t}Delete{/t}" /></a></td>
|
||||
<td><a href="webftp.php?action=rename&op=show&file={$myDir.name}&currentDir={$currentDir}"><img src="{$image_folder}/icons/rename.gif" border="0" alt="{t}Rename{/t}" /></a></td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr {$checked_color}>
|
||||
<td><input type="checkbox" name="file[]" value="{$myDir.name}" {$checked} /></td>
|
||||
<td><a href="webftp.php?action=cd&file={$myDir.name}&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&file={$myDir.name}&currentDir={$currentDir}">{$myDir.name}</a></td>
|
||||
<td align=right>{$myDir.size}</td>
|
||||
<td>{$myDir.date}</td>
|
||||
<td>{$myDir.perms}</td>
|
||||
<td>{$myDir.user}</td>
|
||||
<td>{$myDir.group}</td>
|
||||
<td>
|
||||
<a href="webftp.php?action=deldir&file={$myDir.name}&currentDir={$currentDir}">
|
||||
<img src="templates/{$theme}/assets/img/icons/delete_20.png" border="0" alt="{t}Delete{/t}" />
|
||||
</a>
|
||||
<a href="webftp.php?action=rename&op=show&file={$myDir.name}&currentDir={$currentDir}">
|
||||
<img src="templates/{$theme}/assets/img/icons/rename_20.png" border="0" alt="{t}Rename{/t}" />
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -1,14 +1,23 @@
|
||||
<tr {$checked_color}>
|
||||
<td><input type="checkbox" name="file[]" value="{$myDir.name}" {$checked} /></td>
|
||||
<td><a href="webftp.php?action=get&file={$myDir.name}&currentDir={$currentDir}"><img src="{$image_folder}/icons/file.gif" align="top" border="0" /></a></td>
|
||||
<td><a href="webftp.php?action=get&file={$myDir.name}&currentDir={$currentDir}">{$myDir.name}</a></td>
|
||||
<td align=right>{$myDir.size}</td>
|
||||
<td>{$myDir.date}</td>
|
||||
<td>{$myDir.perms}</td>
|
||||
<td>{$myDir.user}</td>
|
||||
<td>{$myDir.group}</td>
|
||||
<td><a href="webftp.php?action=delfile&file={$myDir.name}&currentDir={$currentDir}"><img src="{$image_folder}/icons/delete.png" border="0" alt="{t}Delete{/t}"></a></td>
|
||||
<td><a href="webftp.php?action=rename&op=show&file={$myDir.name}¤tDir={$currentDir}"><img src="{$image_folder}/icons/rename.gif" border="0" alt="{t}Rename{/t}"></a></td>
|
||||
<td>{if $editable}<a href="webftp.php?action=edit&op=open&file={$myDir.name}&currentDir={$currentDir}"><img src="{$image_folder}/icons/edit.png" border="0" alt="{t}Edit{/t}"></a>{/if}</td>
|
||||
<td> </td>
|
||||
<tr {$checked_color}>
|
||||
<td><input type="checkbox" name="file[]" value="{$myDir.name}" {$checked} /></td>
|
||||
<td><a href="webftp.php?action=get&file={$myDir.name}&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&file={$myDir.name}&currentDir={$currentDir}">{$myDir.name}</a></td>
|
||||
<td align=right>{$myDir.size}</td>
|
||||
<td>{$myDir.date}</td>
|
||||
<td>{$myDir.perms}</td>
|
||||
<td>{$myDir.user}</td>
|
||||
<td>{$myDir.group}</td>
|
||||
<td>
|
||||
<a href="webftp.php?action=delfile&file={$myDir.name}&currentDir={$currentDir}">
|
||||
<img src="templates/{$theme}/assets/img/icons/delete_20.png" border="0" alt="{t}Delete{/t}">
|
||||
</a>
|
||||
<a href="webftp.php?action=rename&op=show&file={$myDir.name}¤tDir={$currentDir}">
|
||||
<img src="templates/{$theme}/assets/img/icons/rename_20.png" border="0" alt="{t}Rename{/t}">
|
||||
</a>
|
||||
{if $editable}
|
||||
<a href="webftp.php?action=edit&op=open&file={$myDir.name}&currentDir={$currentDir}">
|
||||
<img src="templates/{$theme}/assets/img/icons/edit_20.png" border="0" alt="{t}Edit{/t}">
|
||||
</a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
38
templates/Sparkle/webftp/webftp_main_header.tpl
vendored
38
templates/Sparkle/webftp/webftp_main_header.tpl
vendored
@@ -1,19 +1,19 @@
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/group_edit.png" alt="" />
|
||||
{$connected_to} ({$mode})
|
||||
</h2>
|
||||
</header>
|
||||
{if isset($successmessage)}
|
||||
<div class="successcontainer bradius">
|
||||
<div class="successtitle">{t}Success{/t}</div>
|
||||
<div class="success">{$successmessage|escape:'htmlall'|nl2br}</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($errormessage)}
|
||||
<div class="errorcontainer bradius">
|
||||
<div class="errortitle">{t}Error{/t}</div>
|
||||
<div class="error">{$errormessage|escape:'htmlall'|nl2br}</div>
|
||||
</div>
|
||||
{/if}
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/group_edit_big.png" alt="" />
|
||||
{$connected_to} ({$mode})
|
||||
</h2>
|
||||
</header>
|
||||
{if isset($successmessage)}
|
||||
<div class="successcontainer bradius">
|
||||
<div class="successtitle">{t}Success{/t}</div>
|
||||
<div class="success">{$successmessage|escape:'htmlall'|nl2br}</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($errormessage)}
|
||||
<div class="errorcontainer bradius">
|
||||
<div class="errortitle">{t}Error{/t}</div>
|
||||
<div class="error">{$errormessage|escape:'htmlall'|nl2br}</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -1,13 +1,19 @@
|
||||
<tr {$checked_color}>
|
||||
<td><input type="checkbox" name="file[]" value="{$myDir.name}" {$checked} /></td>
|
||||
<td><a href="webftp.php?action=cd&file={$myDir.name}&currentDir={$currentDir}"><img src="{$image_folder}/icons/link.gif" align="top" border="0" /></a></td>
|
||||
<td><a href="webftp.php?action=cd&file={$myDir.name}&currentDir={$currentDir}">{$myDir.name}</a></td>
|
||||
<td align=right>{$myDir.size}</td>
|
||||
<td>{$myDir.date}</td>
|
||||
<td>{$myDir.perms}</td>
|
||||
<td>{$myDir.user}</td>
|
||||
<td>{$myDir.group}</td>
|
||||
<td><a href="webftp.php?action=deldir&file={$myDir.name}&currentDir={$currentDir}"><img src="{$image_folder}/icons/delete.png" border="0" alt="{t}Delete{/t}"></a></td>
|
||||
<td><a href="webftp.php?action=rename&op=show&file={$myDir.name}¤tDir={$currentDir}"><img src="{$image_folder}/icons/rename.gif" border="0" alt="{t}Rename{/t}"></a></td>
|
||||
<td colspan="2">{t}Symbolic link to{/t}: {$myDir.target} </td>
|
||||
<tr {$checked_color}>
|
||||
<td><input type="checkbox" name="file[]" value="{$myDir.name}" {$checked} /></td>
|
||||
<td><a href="webftp.php?action=cd&file={$myDir.name}&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&file={$myDir.name}&currentDir={$currentDir}">{$myDir.name}</a></td>
|
||||
<td align=right>{$myDir.size}</td>
|
||||
<td>{$myDir.date}</td>
|
||||
<td>{$myDir.perms}</td>
|
||||
<td>{$myDir.user}</td>
|
||||
<td>{$myDir.group}</td>
|
||||
<td>
|
||||
<a href="webftp.php?action=deldir&file={$myDir.name}&currentDir={$currentDir}">
|
||||
<img src="templates/{$theme}/assets/img/icons/delete_20.png" border="0" alt="{t}Delete{/t}">
|
||||
</a>
|
||||
<a href="webftp.php?action=rename&op=show&file={$myDir.name}¤tDir={$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>
|
||||
@@ -1,30 +1,35 @@
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td colspan="10" align="left">{t}Selected file(s){/t}:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="10" align="left">
|
||||
<input type="radio" name="op" value="delete" />{t}Delete{/t}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="10" align="left">
|
||||
<input name="op" type="radio" value="chmod" />
|
||||
<input type="text" name="chmod" value="755" maxlength="3" size="5" />{t}Change permission to{/t}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="10" align="left">
|
||||
<input name="op" type="radio" value="move" checked="checked" />
|
||||
<input name="move_to" type="text" id="move_to" value="{$currentDir}" size="30" />{t}Move to{/t}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="10" align="left">
|
||||
<input type="submit" name="submit" value="{t}Do it{/t}" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</section>
|
||||
<section class="dboarditemfull bradiusodd">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="10" align="left">{t}Selected file(s){/t}:</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td colspan="10" align="left">
|
||||
<input type="radio" name="op" value="delete" />{t}Delete{/t}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="10" align="left">
|
||||
<input name="op" type="radio" value="chmod" />
|
||||
{t}Change permission to{/t}<input type="text" name="chmod" value="755" maxlength="3" size="5" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="10" align="left">
|
||||
<input name="op" type="radio" value="move" checked="checked" />
|
||||
{t}Move to{/t}<input name="move_to" type="text" id="move_to" value="{$currentDir}" size="30" />
|
||||
</td>
|
||||
</tr>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="10" align="left">
|
||||
<input type="submit" name="submit" value="{t}Do it{/t}" />
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</form>
|
||||
</section>
|
||||
</article>
|
||||
52
templates/Sparkle/webftp/webftp_main_prompt.tpl
vendored
52
templates/Sparkle/webftp/webftp_main_prompt.tpl
vendored
@@ -1,26 +1,26 @@
|
||||
<style type="text/css">
|
||||
<!--
|
||||
.Stil1 {
|
||||
color: #FF0000;
|
||||
font-weight: bold;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td colspan="10" align="left"><span class="Stil1">{$action_text|escape:'htmlall'|nl2br}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="10" align="left">
|
||||
<input type="hidden" name="chmod" value="{$chmod}" />
|
||||
<input type="hidden" name="move_to" value="{$move_to}" />
|
||||
<input type="hidden" name="action" value="multiple">
|
||||
<input type="hidden" name="op" value="{$op}" />
|
||||
</td>
|
||||
</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>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
.Stil1 {
|
||||
color: #FF0000;
|
||||
font-weight: bold;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<table cellpadding="0" cellspacing="0" class="bradius">
|
||||
<tr>
|
||||
<td colspan="10" align="left"><span class="Stil1">{$action_text|escape:'htmlall'|nl2br}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="10" align="left">
|
||||
<input type="hidden" name="chmod" value="{$chmod}" />
|
||||
<input type="hidden" name="move_to" value="{$move_to}" />
|
||||
<input type="hidden" name="action" value="multiple">
|
||||
<input type="hidden" name="op" value="{$op}" />
|
||||
</td>
|
||||
</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>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
39
templates/Sparkle/webftp/webftp_main_rename.tpl
vendored
39
templates/Sparkle/webftp/webftp_main_rename.tpl
vendored
@@ -1,20 +1,19 @@
|
||||
<table border="0" cellspacing="2" cellpadding="2">
|
||||
<form name="rename" method="post" action="webftp.php">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="op" value="do" />
|
||||
<input type="hidden" name="action" value="rename" />
|
||||
<input type="hidden" name="file" value="{$file}" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
{$rename_text}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="file2" value="{$file}" />
|
||||
</td>
|
||||
<td>
|
||||
<input type="submit" name="submit" value="{t}Rename / Move{/t}">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
<hr />
|
||||
<table border="0" cellspacing="2" cellpadding="2" class="bradius">
|
||||
<form name="rename" method="post" action="webftp.php">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="op" value="do" />
|
||||
<input type="hidden" name="action" value="rename" />
|
||||
<input type="hidden" name="file" value="{$file}" />
|
||||
<input type="hidden" name="currentDir" value="{$currentDir}" />
|
||||
{$rename_text}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="file2" value="{$file}" />
|
||||
</td>
|
||||
<td>
|
||||
<input type="submit" name="submit" value="{t}Rename / Move{/t}">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
@@ -70,7 +70,7 @@ if(function_exists("date_default_timezone_set") && function_exists("date_default
|
||||
// Load the database - connection parameters
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ require ('./lib/userdata.inc.php');
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ else
|
||||
}
|
||||
*/
|
||||
// Until we have other themes: enforce the Froxlor - layout
|
||||
$settings['panel']['default_theme'] = 'Froxlor';
|
||||
$settings['panel']['default_theme'] = 'Sparkle';
|
||||
|
||||
// Initialize Smarty
|
||||
include('./lib/classes/Smarty/Smarty.class.php');
|
||||
|
||||
Reference in New Issue
Block a user