aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-03-21 01:01:25 +0000
committerrvelices <rv-github@modusoptimus.com>2008-03-21 01:01:25 +0000
commitc6429c17ca59f36bf54986b438bf00cce85986f2 (patch)
tree5fe2f54190120006d644acd916b56cc49cc5615e /template/yoga
parent22631d6dfda79a30aad1588204493b2ffb6e81cf (diff)
- minor language changes and use template->assign instead of template->assign_var
git-svn-id: http://piwigo.org/svn/trunk@2288 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/admin/permalinks.tpl10
-rw-r--r--template/yoga/default-layout.css44
-rw-r--r--template/yoga/identification.tpl12
-rw-r--r--template/yoga/menubar.tpl2
4 files changed, 23 insertions, 45 deletions
diff --git a/template/yoga/admin/permalinks.tpl b/template/yoga/admin/permalinks.tpl
index 2013666eb..f6a1d72ac 100644
--- a/template/yoga/admin/permalinks.tpl
+++ b/template/yoga/admin/permalinks.tpl
@@ -1,7 +1,7 @@
{* $Id$ *}
<div class="titrePage">
<ul class="categoryActions">
- <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}"><img src="{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li>
+ <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li>
</ul>
<h2>{'Permalinks'|@translate}</h2>
</div>
@@ -24,7 +24,7 @@
</label>
<p>
- <input type="submit" class="submit" name="set_permalink" value="{'submit'|@translate}" {$TAG_INPUT_ENABLED}/>
+ <input type="submit" class="submit" name="set_permalink" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}/>
</p>
</fieldset>
</form>
@@ -36,8 +36,8 @@
<td>{'Category'|@translate} {$SORT_NAME}</td>
<td>{'Permalink'|@translate} {$SORT_PERMALINK}</td>
</tr>
-{foreach from=$permalinks item=permalink}
- <tr>
+{foreach from=$permalinks item=permalink name="permalink_loop"}
+ <tr class="{if $smarty.foreach.permalink_loop.index is odd}row1{else}row2{/if}">
<td>{$permalink.id}</td>
<td>{$permalink.name}</td>
<td>{$permalink.permalink}</td>
@@ -64,7 +64,7 @@
<td>{$permalink.date_deleted}</td>
<td>{$permalink.last_hit}</td>
<td>{$permalink.hit}</td>
- <td><a href="{$permalink.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" alt="Delete"></a></td>
+ <td><a href="{$permalink.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" alt="[{'delete'|@translate}]" class="button"></a></td>
</tr>
{/foreach}
</table>
diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css
index 025dc1f78..d7e8fc865 100644
--- a/template/yoga/default-layout.css
+++ b/template/yoga/default-layout.css
@@ -9,7 +9,7 @@ BODY {
}
#the_page {
- /* Just in case another template needs an inner frame */
+ /* Just in case another template needs an inner frame */
}
H1 {
@@ -21,29 +21,24 @@ H1 {
}
H2 {
- margin: 0;
- padding: 5px 0.5em 5px 0.5em;
- text-align: left;
- font-size: 120%;
-}
-H5 {
- margin: 0;
- padding: 0 1.5em 0 30%;
- text-align: right;
- font-size: 90%;
+ margin: 0;
+ padding: 5px 0.5em 5px 0.5em;
+ text-align: left;
+ font-size: 120%;
}
+
A {
- text-decoration:none;
- border-bottom: 1px dotted #005e89;
+ text-decoration:none;
+ border-bottom: 1px dotted #005e89;
}
A:hover {
- border-bottom: 1px solid #858460;
+ border-bottom: 1px solid #858460;
}
A.button, A.button:hover {
- border: 0;
+ border: 0;
}
IMG {
- border: none;
+ border: none;
}
HR.separation {
@@ -210,19 +205,6 @@ FORM.properties SPAN.property {
margin-bottom: 0.5em;
}
-#theHeader P {
- margin-top: 0;
- padding: 0;
-}
-
-FORM#addComment FIELDSET LABEL {
- clear: both;
-}
-
-FORM#addComment FIELDSET INPUT[type="hidden"] {
- display: none;
-}
-
/* button tools */
UL.actions {
text-indent: 0;
@@ -272,10 +254,6 @@ BODY#thePopuphelpPage #copyright {
display: none;
}
-BODY#thePopuphelpPage #theHeader P {
- display: none;
-}
-
BODY#thePopuphelpPage #content P {
text-align: justify;
padding: 0.5em;
diff --git a/template/yoga/identification.tpl b/template/yoga/identification.tpl
index 5cb4555e8..d4c2293f6 100644
--- a/template/yoga/identification.tpl
+++ b/template/yoga/identification.tpl
@@ -3,11 +3,11 @@
<div class="titrePage">
<ul class="categoryActions">
- <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li>
+ <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li>
{if isset($U_REGISTER) }
- <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$themeconf.icon_dir}/register.png" class="button" alt="{'register'|@translate}"/></a></li>
+ <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"/></a></li>
{/if}
- <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li>
+ <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li>
</ul>
<h2>{'Identification'|@translate}</h2>
</div>
@@ -54,7 +54,7 @@
</ul>
</fieldset>
- <p><input class="submit" tabindex="4" type="submit" name="login" value="{'submit'|@translate}"></p>
+ <p><input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}"></p>
</form>
<script type="text/javascript"><!--
@@ -63,9 +63,9 @@ document.login_form.username.focus();
<p>
{if isset($U_REGISTER) }
- <a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$themeconf.icon_dir}/register.png" class="button" alt=""> {'Register'|@translate}</a>
+ <a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"> {'Register'|@translate}</a>
{/if}
- <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$themeconf.icon_dir}/lost_password.png" class="button" alt=""> {'Forgot your password?'|@translate}</a>
+ <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"> {'Forgot your password?'|@translate}</a>
</p>
</div> <!-- content -->
diff --git a/template/yoga/menubar.tpl b/template/yoga/menubar.tpl
index 7169ff39f..b53af4b1e 100644
--- a/template/yoga/menubar.tpl
+++ b/template/yoga/menubar.tpl
@@ -152,7 +152,7 @@
<ul class="actions">
<li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li>
{if isset($U_REGISTER)}
- <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'register'|@translate}"/></a></li>
+ <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"/></a></li>
{/if}
</ul>