- modification: use "filter" class for quickconnect box (with some custom

modifications)

- bug fixed: the total number of pictures had disappeared


git-svn-id: http://piwigo.org/svn/trunk@919 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2005-10-31 13:47:58 +00:00
parent 7b9d91a8e6
commit bf596c7279
6 changed files with 50 additions and 34 deletions
-3
View File
@@ -153,12 +153,9 @@ $template->assign_vars(
'L_UPLOAD' => $lang['upload_picture'],
'L_COMMENT' => $lang['comments'],
'L_IDENTIFY' => $lang['identification'],
'L_SUBMIT' => $lang['menu_login'],
'L_USERNAME' => $lang['login'],
'L_PASSWORD' => $lang['password'],
'L_HELLO' => $lang['hello'],
'L_REGISTER' => $lang['ident_register'],
'L_LOGIN' => $lang['menu_login'],
'L_LOGOUT' => $lang['logout'],
'L_ADMIN' => $lang['admin'],
'L_ADMIN_HINT' => $lang['hint_admin'],
+7
View File
@@ -1,3 +1,10 @@
2005-10-31 Pierrick LE GALL
* modification: use "filter" class for quickconnect box (with some
custom modifications)
* bug fixed: the total number of pictures had disappeared
2005-10-30 volcom
* bug 190 fixed: issue in stats.tpl display
+1 -1
View File
@@ -47,6 +47,7 @@ $lang['Categories'] = 'Categories';
$lang['Category'] = 'Category';
$lang['Close this window'] = 'Close this window';
$lang['Confirm Password'] = 'Confirm Password';
$lang['Connection'] = 'Connection';
$lang['Connection settings'] = 'Connection settings';
$lang['Contact webmaster'] = 'Contact webmaster';
$lang['Create a new account'] = 'Create a new account';
@@ -179,7 +180,6 @@ $lang['maxheight'] = 'Maximum height of the pictures';
$lang['maxheight_error'] = 'Maximum height must be a number superior to 50';
$lang['maxwidth'] = 'Maximum width of the pictures';
$lang['maxwidth_error'] = 'Maximum width must be a number superior to 50';
$lang['menu_login'] = 'login';
$lang['month'][10] = 'October';
$lang['month'][11] = 'November';
$lang['month'][12] = 'December';
+1 -1
View File
@@ -46,6 +46,7 @@ $lang['Categories'] = 'Cat
$lang['Category'] = 'Catégorie';
$lang['Close this window'] = 'Fermer cette fenêtre';
$lang['Confirm Password'] = 'Confirmer le mot de passe';
$lang['Connection'] = 'Connexion';
$lang['Connection settings'] = 'Paramètres de connexion';
$lang['Contact webmaster'] = 'Contacter le webmestre';
$lang['Create a new account'] = 'Créer un nouveau compte';
@@ -182,7 +183,6 @@ $lang['maxheight'] = 'Hauteur maximum des images';
$lang['maxheight_error'] = 'La hauteur maximum des images doit être supérieure à 50';
$lang['maxwidth'] = 'Largeur maximum des images';
$lang['maxwidth_error'] = 'La largeur des images doit être supérieure à 50';
$lang['menu_login'] = 'connexion';
$lang['month'][10] = 'Octobre';
$lang['month'][11] = 'Novembre';
$lang['month'][12] = 'Decembre';
+27 -19
View File
@@ -16,6 +16,7 @@
<dt><a href="{U_HOME}">{L_CATEGORIES}</a></dt>
<dd>
{MENU_CATEGORIES_CONTENT}
<p class="totalImages">{NB_PICTURE} {L_TOTAL}</p>
</dd>
</dl>
<dl>
@@ -52,7 +53,7 @@
<li><a href="{U_REGISTER}">{L_REGISTER}</a></li>
<!-- END register -->
<!-- BEGIN login -->
<li><a href="{F_IDENTIFY}">{L_LOGIN}</a></li>
<li><a href="{F_IDENTIFY}">{lang:Connection}</a></li>
<!-- END login -->
<!-- BEGIN logout -->
<li><a href="{U_LOGOUT}">{L_LOGOUT}</a></li>
@@ -65,28 +66,35 @@
<!-- END admin -->
</ul>
<!-- BEGIN quickconnect -->
<hr />
<form method="post" action="{F_IDENTIFY}" id="quickconnect">
<ul>
<li>
<input type="hidden" name="redirect" value="{U_REDIRECT}">
<label for="username">{L_USERNAME}</label>
<input type="text" name="username" id="username" size="15" value="">
</li>
<li>
<label for="password">{L_PASSWORD}</label>
<input type="password" name="password" id="password" size="15">
</li>
<form method="post" action="{F_IDENTIFY}" class="filter" id="quickconnect">
<fieldset>
<legend>{lang:Connection}</legend>
<label>
{lang:Username}
<input type="text" name="username" size="15" value="">
</label>
<label>
{L_PASSWORD}
<input type="password" name="password" size="15">
</label>
<!-- BEGIN remember_me -->
<li>
<label for="remember_me">{L_REMEMBER_ME}</label>
<input type="checkbox" name="remember_me" id="remember_me" value="1">
</li>
<label>
{L_REMEMBER_ME}
<input type="checkbox" name="remember_me" value="1">
</label>
<!-- END remember_me -->
</ul>
<p><input type="submit" name="login" value="{L_SUBMIT}"></p>
<p>
<input type="submit" name="login" value="{lang:submit}">
</p>
</fieldset>
</form>
<!-- END quickconnect -->
</dd>
</dl>
</div> <!-- menubar -->
+14 -10
View File
@@ -158,13 +158,13 @@ FORM.filter INPUT[type="submit"] {
margin-top: 1em;
}
FORM.properties UL, FORM#quickconnect UL, FORM#update UL {
FORM.properties UL, FORM#update UL {
list-style-type: none;
margin: 0;
padding: 0;
}
FORM.properties LI, FORM#quickconnect UL, FORM#update UL {
FORM.properties LI, FORM#update UL {
margin-bottom: 0.5em;
padding: 0;
line-height: 1.8em;
@@ -178,16 +178,20 @@ FORM.properties LABEL {
padding: 0 0.5em 0 0;
}
FORM#quickconnect LABEL {
float: left;
width: 30%;
text-align: right;
margin: 0.5em 0 0 0;
padding: 0 0.5em 0 0;
FORM#quickconnect {
margin: 0;
}
FORM#quickconnect INPUT {
margin-top: 0.5em;
FORM#quickconnect FIELDSET {
margin: 5px;
}
FORM#quickconnect P {
text-align: center;
}
FORM#quickconnect P INPUT {
display: inline;
}
FORM.properties LABEL.mandatory {