aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-03-02 18:56:05 +0000
committerpatdenice <patdenice@piwigo.org>2008-03-02 18:56:05 +0000
commit1283b5ecb1e5e01d9f2ebef555949ac517be89dd (patch)
treead8c1c347d50324989f1776e8a3a2c30a5c99478 /template
parent78e175b3fb7c8d2f9824b15632595523f9ea236c (diff)
Corections to respect coding conventions.
Change plugins versions to 1.8 Change 3 plugins URI. git-svn-id: http://piwigo.org/svn/trunk@2243 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template-common/default-layout.css48
-rw-r--r--template/yoga/admin/default-layout.css8
-rw-r--r--template/yoga/admin/plugins_list.tpl36
-rw-r--r--template/yoga/admin/plugins_new.tpl32
-rw-r--r--template/yoga/admin/plugins_update.tpl58
5 files changed, 91 insertions, 91 deletions
diff --git a/template-common/default-layout.css b/template-common/default-layout.css
index 41090e76b..debdfba4a 100644
--- a/template-common/default-layout.css
+++ b/template-common/default-layout.css
@@ -5,12 +5,12 @@
width: 18em;
}
#content {
- margin-left: 20em; /* = #menubar width + 2em */
+ margin-left: 20em; /* = #menubar width + 2em */
}
/* Set minimum width of the page before getting a scrollbar */
/* IE5 and IE6 don't get that */
BODY {
- min-width: 60em; /* ~ 3* #menubar width */
+ min-width: 60em; /* ~ 3* #menubar width */
}
BODY#thePopuphelpPage {
min-width: 0;
@@ -21,7 +21,7 @@ BODY#theAdminPage #menubar {
width: 12.5em;
}
BODY#theAdminPage #content {
- margin-left: 14.5em; /* = #menubar width + 2em */
+ margin-left: 14.5em; /* = #menubar width + 2em */
}
/* Set some sizes according to your maximum thumbnail width and height */
@@ -29,25 +29,25 @@ BODY#theAdminPage #content {
#content UL.thumbnails SPAN.wrap2 A,
#content UL.thumbnails LABEL,
#content DIV.thumbnailCategory DIV.illustration {
- width: 140px; /* max thumbnail width + 2px */
+ width: 140px; /* max thumbnail width + 2px */
}
#content UL.thumbnails SPAN.wrap2,
#content DIV.thumbnailCategory DIV.description {
- height: 140px; /* max thumbnail height + 2px */
+ height: 140px; /* max thumbnail height + 2px */
}
#content DIV.comment BLOCKQUOTE {
- margin-left: 150px; /*maximum thumbnail width + ~10px */
+ margin-left: 150px; /*maximum thumbnail width + ~10px */
}
/* Category thumbnails on main page */
#content UL.thumbnailCategories LI {
- width: 49.7%; /* 49.7% for 2 per line, 33.2% for 3 per line*/
+ width: 49.7%; /* 49.7% for 2 per line, 33.2% for 3 per line*/
}
/* Set defaults for thumbnails legend */
#content UL.thumbnails SPAN.thumbLegend {
- display: block; /* display: none; if you don't want legend */
- height: 4em; /* legend height (don't set auto to be Gecko friendly)*/
+ display: block; /* display: none; if you don't want legend */
+ height: 4em; /* legend height (don't set auto to be Gecko friendly)*/
}
/* Tooltips*/
@@ -60,23 +60,23 @@ BODY#theAdminPage #content {
}
.tooltip:hover {
- cursor: pointer;
- z-index: 500;
+ cursor: pointer;
+ z-index: 500;
}
.tooltip:hover span {
- display: inline;
- position: absolute;
- top: 30px;
- left: -50px;
- width: 400px;
+ display: inline;
+ position: absolute;
+ top: 30px;
+ left: -50px;
+ width: 400px;
- font-size: 11px;
- text-decoration: none;
- text-align: justify;
- background-color: #FFFFCC;
- color: #444444;
-
- padding: 10px;
- border: 1px solid Black;
+ font-size: 11px;
+ text-decoration: none;
+ text-align: justify;
+ background-color: #FFFFCC;
+ color: #444444;
+
+ padding: 10px;
+ border: 1px solid Black;
}
diff --git a/template/yoga/admin/default-layout.css b/template/yoga/admin/default-layout.css
index 6ebb4a320..f12fa2048 100644
--- a/template/yoga/admin/default-layout.css
+++ b/template/yoga/admin/default-layout.css
@@ -200,10 +200,10 @@ UL.tabsheet LI {
}
UL.tabsheet LI.selected_tab {
- font-weight: bold;
- position: relative;
- top: 1px;
- padding-top: 4px;
+ font-weight: bold;
+ position: relative;
+ top: 1px;
+ padding-top: 4px;
}
.over{
diff --git a/template/yoga/admin/plugins_list.tpl b/template/yoga/admin/plugins_list.tpl
index e96cf7f89..89b57d448 100644
--- a/template/yoga/admin/plugins_list.tpl
+++ b/template/yoga/admin/plugins_list.tpl
@@ -11,28 +11,28 @@
{if isset($plugins)}
<table class="table2">
<thead>
- <tr class="throw">
- <td>{'Name'|@translate}</td>
- <td>{'Version'|@translate}</td>
- <td>{'Description'|@translate}</td>
- <td>{'Actions'|@translate}</td>
- </tr>
+ <tr class="throw">
+ <td>{'Name'|@translate}</td>
+ <td>{'Version'|@translate}</td>
+ <td>{'Description'|@translate}</td>
+ <td>{'Actions'|@translate}</td>
+ </tr>
</thead>
{foreach from=$plugins item=plugin name=plugins_loop}
- <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
- <td>{$plugin.NAME}</td>
- <td>{$plugin.VERSION}</td>
- <td>{$plugin.DESCRIPTION}</td>
- <td>
- {foreach from=$plugin.actions item=action}
- <a href="{$action.U_ACTION}"
- {if isset($action.CONFIRM)}
+ <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
+ <td>{$plugin.NAME}</td>
+ <td>{$plugin.VERSION}</td>
+ <td>{$plugin.DESCRIPTION}</td>
+ <td>
+ {foreach from=$plugin.actions item=action}
+ <a href="{$action.U_ACTION}"
+ {if isset($action.CONFIRM)}
onclick="return confirm('{$action.CONFIRM|@escape:javascript}');"
{/if}
- {$TAG_INPUT_ENABLED}>{$action.L_ACTION}</a>
- {/foreach}
- </td>
- </tr>
+ {$TAG_INPUT_ENABLED}>{$action.L_ACTION}</a>
+ {/foreach}
+ </td>
+ </tr>
{/foreach}
</table>
{/if}
diff --git a/template/yoga/admin/plugins_new.tpl b/template/yoga/admin/plugins_new.tpl
index b906914db..bf0081703 100644
--- a/template/yoga/admin/plugins_new.tpl
+++ b/template/yoga/admin/plugins_new.tpl
@@ -12,24 +12,24 @@
<br>
<table class="table2">
<thead>
- <tr class="throw">
- <td>{'Name'|@translate}</td>
- <td>{'Version'|@translate}</td>
- <td>{'Author'|@translate}</td>
- <td>{'Actions'|@translate}</td>
- </tr>
+ <tr class="throw">
+ <td>{'Name'|@translate}</td>
+ <td>{'Version'|@translate}</td>
+ <td>{'Author'|@translate}</td>
+ <td>{'Actions'|@translate}</td>
+ </tr>
</thead>
{foreach from=$plugins item=plugin name=plugins_loop}
- <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
- <td><a href="{$plugin.EXT_URL}" onclick="window.open(this.href); return false;" class="tooltip">{$plugin.EXT_NAME}
- <span>{$plugin.EXT_DESC}</span></a></td>
- <td style="text-align:center;"><a href="{$plugin.VERSION_URL}" onclick="window.open(this.href); return false;" class="tooltip">{$plugin.VERSION}
- <span>{$plugin.VER_DESC}</span></a></td>
- <td>{$plugin.AUTHOR}</td>
- <td style="text-align:center;"><a href="{$plugin.URL_INSTALL}" onclick="return confirm('{'plugins_confirm_install'|@translate|@escape:javascript}');">{'plugins_auto_install'|@translate}</a>
- / <a href="{$plugin.URL_DOWNLOAD}">{'plugins_download'|@translate}</a>
- </td>
- </tr>
+ <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
+ <td><a href="{$plugin.EXT_URL}" onclick="window.open(this.href); return false;" class="tooltip">{$plugin.EXT_NAME}
+ <span>{$plugin.EXT_DESC}</span></a></td>
+ <td style="text-align:center;"><a href="{$plugin.VERSION_URL}" onclick="window.open(this.href); return false;" class="tooltip">{$plugin.VERSION}
+ <span>{$plugin.VER_DESC}</span></a></td>
+ <td>{$plugin.AUTHOR}</td>
+ <td style="text-align:center;"><a href="{$plugin.URL_INSTALL}" onclick="return confirm('{'plugins_confirm_install'|@translate|@escape:javascript}');">{'plugins_auto_install'|@translate}</a>
+ / <a href="{$plugin.URL_DOWNLOAD}">{'plugins_download'|@translate}</a>
+ </td>
+ </tr>
{/foreach}
</table>
{/if}
diff --git a/template/yoga/admin/plugins_update.tpl b/template/yoga/admin/plugins_update.tpl
index 946b67ad9..6712726ff 100644
--- a/template/yoga/admin/plugins_update.tpl
+++ b/template/yoga/admin/plugins_update.tpl
@@ -8,23 +8,23 @@
<b>{'plugins_need_update'|@translate}</b>
<table class="table2">
<thead>
- <tr class="throw">
- <td>{'Name'|@translate}</td>
- <td>{'plugins_actual_version'|@translate}</td>
- <td>{'plugins_new_version'|@translate}</td>
- <td>{'plugins_action'|@translate}</td>
- </tr>
+ <tr class="throw">
+ <td>{'Name'|@translate}</td>
+ <td>{'plugins_actual_version'|@translate}</td>
+ <td>{'plugins_new_version'|@translate}</td>
+ <td>{'plugins_action'|@translate}</td>
+ </tr>
</thead>
{foreach from=$plugins_not_uptodate item=plugin name=plugins_loop}
- <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
- <td><a href="{$plugin.EXT_URL}" onclick="window.open(this.href); return false;" class="tooltip">{$plugin.EXT_NAME}
+ <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
+ <td><a href="{$plugin.EXT_URL}" onclick="window.open(this.href); return false;" class="tooltip">{$plugin.EXT_NAME}
<span>{$plugin.EXT_DESC}</span></a></td>
- <td style="text-align:center;">{$plugin.VERSION}</td>
- <td style="text-align:center;"><a href="{$plugin.VERSION_URL}" onclick="window.open(this.href); return false;" class="tooltip">{$plugin.NEW_VERSION}
+ <td style="text-align:center;">{$plugin.VERSION}</td>
+ <td style="text-align:center;"><a href="{$plugin.VERSION_URL}" onclick="window.open(this.href); return false;" class="tooltip">{$plugin.NEW_VERSION}
<span>{$plugin.NEW_VER_DESC}</span></a></td>
- <td style="text-align:center;"><a href="{$plugin.URL_UPDATE}" onclick="return confirm('{'plugins_confirm_upgrade'|@translate|@escape:javascript}');">{'plugins_auto_update'|@translate}</a>
- / <a href="{$plugin.URL_DOWNLOAD}">{'plugins_download'|@translate}</a></td>
- </tr>
+ <td style="text-align:center;"><a href="{$plugin.URL_UPDATE}" onclick="return confirm('{'plugins_confirm_upgrade'|@translate|@escape:javascript}');">{'plugins_auto_update'|@translate}</a>
+ / <a href="{$plugin.URL_DOWNLOAD}">{'plugins_download'|@translate}</a></td>
+ </tr>
{/foreach}
</table>
{/if}
@@ -35,17 +35,17 @@
<b>{'plugins_dontneed_update'|@translate}</b>
<table class="table2">
<thead>
- <tr class="throw">
- <td>{'Name'|@translate}</td>
- <td>{'Version'|@translate}</td>
- </tr>
+ <tr class="throw">
+ <td>{'Name'|@translate}</td>
+ <td>{'Version'|@translate}</td>
+ </tr>
</thead>
{foreach from=$plugins_uptodate item=plugin name=plugins_loop}
- <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
- <td><a href="{$plugin.URL}" onclick="window.open(this.href); return false;" class="tooltip">{$plugin.NAME}
+ <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
+ <td><a href="{$plugin.URL}" onclick="window.open(this.href); return false;" class="tooltip">{$plugin.NAME}
<span>{$plugin.EXT_DESC}</span></a></td>
- <td style="text-align:center;"><span class="tooltip">{$plugin.VERSION}<span>{$plugin.VER_DESC}</span></span></td>
- </tr>
+ <td style="text-align:center;"><span class="tooltip">{$plugin.VERSION}<span>{$plugin.VER_DESC}</span></span></td>
+ </tr>
{/foreach}
</table>
{/if}
@@ -56,16 +56,16 @@
<b>{'plugins_cant_check'|@translate}</b>
<table class="table2">
<thead>
- <tr class="throw">
- <td>{'Name'|@translate}</td>
- <td>{'Version'|@translate}</td>
- </tr>
+ <tr class="throw">
+ <td>{'Name'|@translate}</td>
+ <td>{'Version'|@translate}</td>
+ </tr>
</thead>
{foreach from=$plugins_cant_check item=plugin name=plugins_loop}
- <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
- <td>&nbsp;{$plugin.NAME}&nbsp;</td>
- <td style="text-align:center;">{$plugin.VERSION}</td>
- </tr>
+ <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
+ <td>&nbsp;{$plugin.NAME}&nbsp;</td>
+ <td style="text-align:center;">{$plugin.VERSION}</td>
+ </tr>
{/foreach}
</table>
{/if}