aboutsummaryrefslogtreecommitdiffstats
path: root/template/default
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-09-23 23:41:23 +0000
committerz0rglub <z0rglub@piwigo.org>2004-09-23 23:41:23 +0000
commitacfbcac7bb1f7a50463aa187ad15bf8fcb1f725d (patch)
tree77edba9ba7d24efd31b0005cd8c50ea9c759f5fa /template/default
parentc2ceeae0135cd36ee9b6cdd2b85b0f0d2302938d (diff)
- (re)added feature : in remote site management, if a listing.xml file is
found at PhpWebGallery root directory, it can be used to update a remote site - size and maxlength of prefix_thumbnail in admin/configuration are 10 git-svn-id: http://piwigo.org/svn/trunk@534 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default')
-rw-r--r--template/default/admin/configuration.tpl2
-rw-r--r--template/default/admin/remote_site.tpl10
-rw-r--r--template/default/default.css24
3 files changed, 35 insertions, 1 deletions
diff --git a/template/default/admin/configuration.tpl b/template/default/admin/configuration.tpl
index 98a5c2171..da0174ab7 100644
--- a/template/default/admin/configuration.tpl
+++ b/template/default/admin/configuration.tpl
@@ -25,7 +25,7 @@
</tr>
<tr>
<td><strong>{general.L_CONF_TN_PREFIX}&nbsp;:</strong><br /><span class="small">{general.L_CONF_TN_PREFIX_INFO}</span></td>
- <td class="row1"><input type="text" size="3" maxlength="4" name="prefix_thumbnail" value="{general.THUMBNAIL_PREFIX}" /></td>
+ <td class="row1"><input type="text" size="10" maxlength="10" name="prefix_thumbnail" value="{general.THUMBNAIL_PREFIX}" /></td>
</tr>
<tr>
<td><strong>{general.L_CONF_ACCESS}&nbsp;:</strong><br /><span class="small">{general.L_CONF_ACCESS_INFO}</span></td>
diff --git a/template/default/admin/remote_site.tpl b/template/default/admin/remote_site.tpl
index 4eb511fa4..397c8c144 100644
--- a/template/default/admin/remote_site.tpl
+++ b/template/default/admin/remote_site.tpl
@@ -42,6 +42,16 @@
</div>
<!-- END remote_output -->
+<!-- BEGIN local -->
+<div class="remoteLocal">
+ {L_REMOTE_SITE_LOCAL_FOUND} {local.URL}
+ <!-- BEGIN new_site -->
+ {L_REMOTE_SITE_LOCAL_NEW}
+ <!-- END new_site -->
+ [<a href="{local.U_UPDATE}">{L_REMOTE_SITE_LOCAL_UPDATE}</a>]
+</div>
+<!-- END local -->
+
<form action="{F_ACTION}" method="post">
{L_REMOTE_SITE_CREATE}
<input type="text" name="galleries_url" value="{F_GALLERIES_URL}" />
diff --git a/template/default/default.css b/template/default/default.css
index 7e2d58e95..d17a4645b 100644
--- a/template/default/default.css
+++ b/template/default/default.css
@@ -412,3 +412,27 @@ span.update_error_element, span.update_category_error {
.update_summary_del {
color:#ffe1e1;
}
+
+div.remoteOutput, div.remoteLocal {
+ background-color:#444444;
+ border:1px solid black;
+ margin:10px;
+ text-align:left;
+ padding:5px;
+}
+
+li.remoteInfo {
+ color:gray;
+}
+
+li.remoteWarning {
+ color:#ffe1e1;
+}
+
+li.remoteError {
+ color:orange;
+}
+
+div.remoteLocal {
+ text-align:center;
+} \ No newline at end of file