This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 85a5b8a9f329e3ed77e174af11c1978092a9622e (commit)
from da079266ffde3a1b40f1bc4d75070e22e906b485 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=85a5b8a9f329e3ed77e174af11c1978092a9622e
commit 85a5b8a9f329e3ed77e174af11c1978092a9622e
Author: Marc-Etienne Vargenau <[email protected]>
Date: Thu Apr 27 11:41:42 2017 +0200
Add <label>s
diff --git a/src/www/my/diary.php b/src/www/my/diary.php
index e54627a..4769f4e 100644
--- a/src/www/my/diary.php
+++ b/src/www/my/diary.php
@@ -167,6 +167,7 @@ if (!session_loggedin()) {
site_user_header(array('title' => _('My Diary and Notes')));
+ $params['id'] = 'details';
$params['name'] = 'details';
$params['body'] = $_details;
$params['height'] = '350';
@@ -182,13 +183,15 @@ if (!session_loggedin()) {
echo html_e('input', array('type' => 'hidden', 'name' => $proc_str,
'value' => '1'));
echo html_e('input', array('type' => 'hidden', 'name' => 'diary_id',
'value' => $_diary_id));
echo $HTML->listTableTop();
- echo html_ao('tr').html_ao('td');
- echo html_e('strong', array(),_('Summary')._(':')).'<br />';
- echo html_e('input', array( 'required' => 'required', 'type' => 'text',
'name' => 'summary', 'size' => '60', 'maxlength' => '60', 'value' =>
$_summary));
+ echo html_ao('tr').html_ao('td').html_ao('label', array('for' =>
'summary'));
+ echo html_e('strong', array(), _('Summary')._(':')).'<br />';
+ echo html_ac(html_ap()-1);
+ echo html_e('input', array('id' => 'summary', 'required' => 'required',
'type' => 'text', 'name' => 'summary', 'size' => '60', 'maxlength' => '60',
'value' => $_summary));
echo html_ac(html_ap()-2);
- echo html_ao('tr').html_ao('td');
+ echo html_ao('tr').html_ao('td').html_ao('label', array('for' =>
'details'));
echo html_e('strong', array(),_('Details')._(':')).'<br />';
+ echo html_ac(html_ap()-1);
echo $params['content'];
echo html_ac(html_ap()-2);
@@ -196,9 +199,9 @@ if (!session_loggedin()) {
echo html_ao('p');
echo html_e('input', array('type' => 'submit', 'name' => 'submit',
'value' => _('Submit'))).' ';
if ($_is_public) {
- echo html_e('input', array('type' => 'checkbox', 'name' =>
'is_public', 'value' => '1', 'checked' => 'checked'))._('Is Public');
+ echo html_e('input', array('id' => 'is_public', 'type' =>
'checkbox', 'name' => 'is_public', 'value' => '1', 'checked' =>
'checked')).'<label for="is_public">'._('Is Public').'</label>';
} else {
- echo html_e('input', array('type' => 'checkbox', 'name' =>
'is_public', 'value' => '1'))._('Is Public');
+ echo html_e('input', array('id' => 'is_public', 'type' =>
'checkbox', 'name' => 'is_public', 'value' => '1')).'<label
for="is_public">'._('Is Public').'</label>';
}
echo html_ac(html_ap()-1);
-----------------------------------------------------------------------
Summary of changes:
src/www/my/diary.php | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits