welcome on board new 'Sparkle' theme and also welcome on board BNoiZe as theme maintainer (creater of Sparkle theme)
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
8
templates/Sparkle/customer/mysql/mysql.tpl
vendored
Normal file
8
templates/Sparkle/customer/mysql/mysql.tpl
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
$header
|
||||
<div class="messagewrapper">
|
||||
<div class="neutralcontainer bradius">
|
||||
<div class="neutraltitle">{$lng['menue']['mysql']['mysql']}</div>
|
||||
<div class="neutral">{$lng['mysql']['description']}</div>
|
||||
</div>
|
||||
</div>
|
||||
$footer
|
||||
64
templates/Sparkle/customer/mysql/mysqls.tpl
vendored
Normal file
64
templates/Sparkle/customer/mysql/mysqls.tpl
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
$header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/mysql_big.png" alt="" />
|
||||
{$lng['menue']['mysql']['databases']} ({$mysqls_count})
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<section>
|
||||
|
||||
<form action="{$linker->getLink(array('section' => 'mysql'))}" method="post" enctype="application/x-www-form-urlencoded">
|
||||
|
||||
<div class="overviewsearch">
|
||||
{$searchcode}
|
||||
</div>
|
||||
|
||||
<if ($userinfo['mysqls_used'] < $userinfo['mysqls'] || $userinfo['mysqls'] == '-1') && 15 < $mysqls_count >
|
||||
<div class="overviewadd">
|
||||
<img src="templates/{$theme}/assets/img/icons/mysql_add.png" alt="" />
|
||||
<a href="{$linker->getLink(array('section' => 'mysql', 'page' => 'mysqls', 'action' => 'add'))}">{$lng['mysql']['database_create']}</a>
|
||||
</div>
|
||||
</if>
|
||||
|
||||
<table class="bradiusodd">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$lng['mysql']['databasename']} {$arrowcode['databasename']}</th>
|
||||
<th>{$lng['mysql']['databasedescription']} {$arrowcode['description']}</th>
|
||||
<th>{$lng['mysql']['size']}</th>
|
||||
<if 1 < count($sql_root)><th>{$lng['mysql']['mysql_server']}</th></if>
|
||||
<th>{$lng['panel']['options']}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<if $pagingcode != ''>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="5">{$pagingcode}</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</if>
|
||||
<tbody>
|
||||
{$mysqls}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p style="display:none;">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
<if ($userinfo['mysqls_used'] < $userinfo['mysqls'] || $userinfo['mysqls'] == '-1') >
|
||||
<div class="overviewadd">
|
||||
<img src="templates/{$theme}/assets/img/icons/mysql_add.png" alt="" />
|
||||
<a href="{$linker->getLink(array('section' => 'mysql', 'page' => 'mysqls', 'action' => 'add'))}">{$lng['mysql']['database_create']}</a>
|
||||
</div>
|
||||
</if>
|
||||
|
||||
</section>
|
||||
</article>
|
||||
$footer
|
||||
|
||||
31
templates/Sparkle/customer/mysql/mysqls_add.tpl
vendored
Normal file
31
templates/Sparkle/customer/mysql/mysqls_add.tpl
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
$header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/mysql_add_big.png" alt="{$title}" />
|
||||
{$title}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<section class="fullform bradiusodd">
|
||||
|
||||
<form action="{$linker->getLink(array('section' => 'mysql'))}" method="post" enctype="application/x-www-form-urlencoded">
|
||||
<fieldset>
|
||||
<legend>Froxlor - {$title}</legend>
|
||||
|
||||
<table class="formtable">
|
||||
{$mysql_add_form}
|
||||
</table>
|
||||
|
||||
<p style="display: none;">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
<input type="hidden" name="send" value="send" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
</section>
|
||||
</article>
|
||||
$footer
|
||||
18
templates/Sparkle/customer/mysql/mysqls_database.tpl
vendored
Normal file
18
templates/Sparkle/customer/mysql/mysqls_database.tpl
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<tr>
|
||||
<td>{$row['databasename']}</td>
|
||||
<td>{$row['description']}</td>
|
||||
<td>{$row['size']}</td>
|
||||
<if 1 < count($sql_root)><td>{$sql_root[$row['dbserver']]['caption']}</td></if>
|
||||
<if $row['apsdb'] != '1'>
|
||||
<td>
|
||||
<a href="{$linker->getLink(array('section' => 'mysql', 'page' => 'mysqls', 'action' => 'edit', 'id' => $row['id']))}" style="text-decoration:none;">
|
||||
<img src="templates/{$theme}/assets/img/icons/edit.png" alt="{$lng['panel']['edit']}" />
|
||||
</a>
|
||||
<a href="{$linker->getLink(array('section' => 'mysql', 'page' => 'mysqls', 'action' => 'delete', 'id' => $row['id']))}" style="text-decoration:none;">
|
||||
<img src="templates/{$theme}/assets/img/icons/delete.png" alt="{$lng['panel']['delete']}" />
|
||||
</a>
|
||||
</td>
|
||||
<else>
|
||||
<td>{$lng['aps']['cannoteditordeleteapsdb']}</td>
|
||||
</if>
|
||||
</tr>
|
||||
32
templates/Sparkle/customer/mysql/mysqls_edit.tpl
vendored
Normal file
32
templates/Sparkle/customer/mysql/mysqls_edit.tpl
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
$header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/mysql_edit_big.png" alt="{$title}" />
|
||||
{$title}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<section class="fullform bradiusodd">
|
||||
|
||||
<form action="{$linker->getLink(array('section' => 'mysql'))}" method="post" enctype="application/x-www-form-urlencoded">
|
||||
<fieldset>
|
||||
<legend>Froxlor - {$title}</legend>
|
||||
|
||||
<table class="formtable">
|
||||
{$mysql_edit_form}
|
||||
</table>
|
||||
|
||||
<p style="display: none;">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
<input type="hidden" name="id" value="$id" />
|
||||
<input type="hidden" name="send" value="send" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
</section>
|
||||
</article>
|
||||
$footer
|
||||
Reference in New Issue
Block a user