aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-12-03 22:32:02 +0000
committerrub <rub@piwigo.org>2006-12-03 22:32:02 +0000
commit4c7e7fb0fb9cca9b2d32940a0b1477b03e0801ee (patch)
treeadb063ca78b20e995425fcd3fb889a5e97ba5148 /template/yoga
parent9ba8fb139787b6c6392a51fcf2da25afc00f3b86 (diff)
Fixed Issue ID 0000494: Stats do not currently include Uploads
Fixed: Error when thumbnail directory not exists Fixed: Apply current translation norme Fixed: Improvement style sheet (like other PWG sheet) git-svn-id: http://piwigo.org/svn/trunk@1631 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga')
-rw-r--r--template/yoga/content.css1
-rw-r--r--template/yoga/upload.tpl195
2 files changed, 103 insertions, 93 deletions
diff --git a/template/yoga/content.css b/template/yoga/content.css
index 9eccdeed1..6b61ea72c 100644
--- a/template/yoga/content.css
+++ b/template/yoga/content.css
@@ -5,6 +5,7 @@
}
BODY#theCommentsPage #content,
+BODY#theUploadPage #content,
BODY#theRegisterPage #content,
BODY#theIdentificationPage #content,
BODY#theProfilePage #content,
diff --git a/template/yoga/upload.tpl b/template/yoga/upload.tpl
index fcf27b543..ef7498aa9 100644
--- a/template/yoga/upload.tpl
+++ b/template/yoga/upload.tpl
@@ -1,93 +1,102 @@
-<h2>{L_TITLE}</h2>
-<!-- BEGIN upload_not_successful -->
-<form enctype="multipart/form-data" method="post" action="{F_ACTION}">
- <table style="width:80%;margin-left:auto;margin-right:auto;">
- <!-- BEGIN errors -->
- <tr>
- <td colspan="2">
- <div class="errors">
- <ul>
- <!-- BEGIN error -->
- <li>{upload_not_successful.errors.error.ERROR}</li>
- <!-- END error -->
- </ul>
- </div>
- </td>
- </tr>
- <!-- END errors -->
- <tr>
- <td colspan="2" class="menu">
- <div style="text-align:center;">{ADVISE_TITLE}</div>
- <ul>
- <!-- BEGIN advise -->
- <li>{upload_not_successful.advise.ADVISE}</li>
- <!-- END advise -->
- </ul>
- </td>
- </tr>
- <tr>
- <td colspan="2" align="center" style="padding:10px;">
- <input name="picture" type="file" value="" />
- </td>
- </tr>
- <!-- BEGIN fields -->
- <!-- username -->
- <tr>
- <td class="menu">{L_USERNAME} <span style="color:red;">*</span></td>
- <td align="center" style="padding:10px;">
- <input name="username" type="text" value="{NAME}" />
- </td>
- </tr>
- <!-- mail address -->
- <tr>
- <td class="menu">{L_EMAIL} <span style="color:red;">*</span></td>
- <td align="center" style="padding:10px;">
- <input name="mail_address" type="text" value="{EMAIL}" />
- </td>
- </tr>
- <!-- name of the picture -->
- <tr>
- <td class="menu">{L_NAME_IMG}</td>
- <td align="center" style="padding:10px;">
- <input name="name" type="text" value="{NAME_IMG}" />
- </td>
- </tr>
- <!-- author -->
- <tr>
- <td class="menu">{L_AUTHOR}</td>
- <td align="center" style="padding:10px;">
- <input name="author" type="text" value="{AUTHOR_IMG}" />
- </td>
- </tr>
- <!-- date of creation -->
- <tr>
- <td class="menu">{L_CREATION_DATE}</td>
- <td align="center" style="padding:10px;">
- <input name="date_creation" type="text" value="{DATE_IMG}" />
- </td>
- </tr>
- <!-- comment -->
- <tr>
- <td class="menu">{L_COMMENT}</td>
- <td align="center" style="padding:10px;">
- <textarea name="comment" rows="3" cols="40" style="overflow:auto">{COMMENT_IMG}</textarea>
- </td>
- </tr>
- <!-- END fields -->
- <tr>
- <td colspan="2" align="center">
- <input name="submit" type="submit" value="{L_SUBMIT}" class="bouton" />
- </td>
- </tr>
- </table>
-</form>
-<!-- END upload_not_successful -->
-<!-- BEGIN upload_successful -->
-{L_UPLOAD_DONE}<br />
-<!-- END upload_successful -->
-<div style="text-align:center;">
- <a href="{U_RETURN}">[ {L_RETURN} ]</a>
-</div>
-<!-- BEGIN note -->
-<div style="text-align:left;"><span style="color:red;">*</span> : {L_MANDATORY}</div>
-<!-- END note -->
+<div id="content">
+
+ <div class="titrePage">
+ <ul class="categoryActions">
+ <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
+ </ul>
+ <h2>{lang:upload_title}</h2>
+ </div>
+
+ <!-- BEGIN upload_not_successful -->
+ <form enctype="multipart/form-data" method="post" action="{F_ACTION}">
+ <table style="width:80%;margin-left:auto;margin-right:auto;">
+ <!-- BEGIN errors -->
+ <tr>
+ <td colspan="2">
+ <div class="errors">
+ <ul>
+ <!-- BEGIN error -->
+ <li>{upload_not_successful.errors.error.ERROR}</li>
+ <!-- END error -->
+ </ul>
+ </div>
+ </td>
+ </tr>
+ <!-- END errors -->
+ <tr>
+ <td colspan="2" class="menu">
+ <div style="text-align:center;">{ADVISE_TITLE}</div>
+ <ul>
+ <!-- BEGIN advise -->
+ <li>{upload_not_successful.advise.ADVISE}</li>
+ <!-- END advise -->
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center" style="padding:10px;">
+ <input name="picture" type="file" value="" />
+ </td>
+ </tr>
+ <!-- BEGIN fields -->
+ <!-- username -->
+ <tr>
+ <td class="menu">{lang:upload_username} <span style="color:red;">*</span></td>
+ <td align="left" style="padding:10px;">
+ <input name="username" type="text" value="{NAME}" />
+ </td>
+ </tr>
+ <!-- mail address -->
+ <tr>
+ <td class="menu">{lang:mail_address} <span style="color:red;">*</span></td>
+ <td align="left" style="padding:10px;">
+ <input name="mail_address" type="text" value="{EMAIL}" />
+ </td>
+ </tr>
+ <!-- name of the picture -->
+ <tr>
+ <td class="menu">{lang:upload_name}</td>
+ <td align="left" style="padding:10px;">
+ <input name="name" type="text" value="{NAME_IMG}" />
+ </td>
+ </tr>
+ <!-- author -->
+ <tr>
+ <td class="menu">{lang:upload_author}</td>
+ <td align="left" style="padding:10px;">
+ <input name="author" type="text" value="{AUTHOR_IMG}" />
+ </td>
+ </tr>
+ <!-- date of creation -->
+ <tr>
+ <td class="menu">{lang:upload_creation_date}</td>
+ <td align="left" style="padding:10px;">
+ <input name="date_creation" type="text" value="{DATE_IMG}" />
+ </td>
+ </tr>
+ <!-- comment -->
+ <tr>
+ <td class="menu">{lang:comment}</td>
+ <td align="left" style="padding:10px;">
+ <textarea name="comment" rows="3" cols="40" style="overflow:auto">{COMMENT_IMG}</textarea>
+ </td>
+ </tr>
+ <!-- END fields -->
+ <tr>
+ <td colspan="2" align="center">
+ <input name="submit" type="submit" value="{lang:submit}" class="bouton" />
+ </td>
+ </tr>
+ </table>
+ </form>
+ <!-- END upload_not_successful -->
+ <!-- BEGIN upload_successful -->
+ {lang:upload_successful}<br />
+ <div style="text-align:center;">
+ <a href="{U_RETURN}">[ {lang:home} ]</a>
+ </div>
+ <!-- END upload_successful -->
+ <!-- BEGIN note -->
+ <div style="text-align:left;"><span style="color:red;">*</span> : {lang:mandatory}</div>
+ <!-- END note -->
+</div> <!-- content -->