aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-10-12 14:32:06 +0000
committerz0rglub <z0rglub@piwigo.org>2003-10-12 14:32:06 +0000
commitb29e95516727bd4449195709edbabf4b5806adf7 (patch)
treee0aa6cecf49ca146ddd9204186a5b2ee6b5e0325
parent2978cbc1b3d4597adb81fcba30548c447e58b205 (diff)
Display a message linked to the help forum
git-svn-id: http://piwigo.org/svn/trunk@199 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/install.php2
-rw-r--r--template/default/admin/admin.vtp7
-rw-r--r--template/default/admin/install.vtp1
3 files changed, 9 insertions, 1 deletions
diff --git a/admin/install.php b/admin/install.php
index 303cccffb..d368cd5ef 100644
--- a/admin/install.php
+++ b/admin/install.php
@@ -40,7 +40,7 @@ if ( isset( $_GET['language'] ) )
'step2_pwd','step2_pwd_info','step2_pwd_conf',
'step2_pwd_conf_info','conf_general_mail',
'conf_general_mail_info','install_end_title',
- 'install_end_message');
+ 'install_end_message','install_help');
templatize_array( $tpl, 'lang', $handle );
$vtp->setGlobalVar( $handle, 'language', $_GET['language'] );
}
diff --git a/template/default/admin/admin.vtp b/template/default/admin/admin.vtp
index 5d676ab6d..2729d9cdc 100644
--- a/template/default/admin/admin.vtp
+++ b/template/default/admin/admin.vtp
@@ -110,6 +110,12 @@
td.choice {
text-align : center;
}
+ div.install_warning {
+ text-align:center;
+ color:red;
+ margin:20px;
+ font-weight:bold;
+ }
<!-- comments CSS style -->
.commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent,.commentsNavigationBar {
color:black;
@@ -185,6 +191,7 @@
<meta http-equiv="Content-Type" content="text/html; charset={#charset}">
</head>
<body>
+ <!--VTP_install_warning--><div class="install_warning">{#install_warning}</div><!--/VTP_install_warning-->
<table>
<tr>
<td width="1%" valign="top">
diff --git a/template/default/admin/install.vtp b/template/default/admin/install.vtp
index da6ec4743..36c66bcac 100644
--- a/template/default/admin/install.vtp
+++ b/template/default/admin/install.vtp
@@ -246,6 +246,7 @@
</td>
</tr>
</table>
+ <div style="text-align:center;margin:20px;">{#install_help}</div>
</td>
</tr>
</table>