diff options
author | Anika Henke <a.c.henke@arcor.de> | 2006-01-27 12:22:05 +0100 |
---|---|---|
committer | Anika Henke <a.c.henke@arcor.de> | 2006-01-27 12:22:05 +0100 |
commit | 1dd0c202c67d09d8454c6a10dfce0225c7ffeb99 (patch) | |
tree | efebe2de8dc33bb967e20869fd511596947bbc98 | |
parent | ea83dfccf4c2c87675a05270801677bf1fa96b40 (diff) | |
download | rpg-1dd0c202c67d09d8454c6a10dfce0225c7ffeb99.tar.gz rpg-1dd0c202c67d09d8454c6a10dfce0225c7ffeb99.tar.bz2 |
replaced form attr. 'name' by 'id' + prefixed values with 'dw__' for strictness
darcs-hash:20060127112205-d5083-8020a108120f6f1baa68456dd509a13021320c21.gz
-rw-r--r-- | inc/html.php | 10 | ||||
-rw-r--r-- | inc/template.php | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/inc/html.php b/inc/html.php index 7e1203950..f506a4a0b 100644 --- a/inc/html.php +++ b/inc/html.php @@ -775,7 +775,7 @@ function html_conflict($text,$summary){ print p_locale_xhtml('conflict'); ?> - <form name="editform" method="post" action="<?php echo script()?>" accept-charset="<?php echo $lang['encoding']?>"> + <form id="dw__editform" method="post" action="<?php echo script()?>" accept-charset="<?php echo $lang['encoding']?>"> <div class="centeralign"> <input type="hidden" name="id" value="<?php echo $ID?>" /> <input type="hidden" name="wikitext" value="<?php echo formText($text)?>" /> @@ -819,7 +819,7 @@ function html_register(){ print p_locale_xhtml('register'); ?> <div class="centeralign"> - <form name="register" method="post" action="<?php echo wl($ID)?>" accept-charset="<?php echo $lang['encoding']?>"> + <form id="dw__register" method="post" action="<?php echo wl($ID)?>" accept-charset="<?php echo $lang['encoding']?>"> <fieldset> <input type="hidden" name="do" value="register" /> <input type="hidden" name="save" value="1" /> @@ -878,7 +878,7 @@ function html_updateprofile(){ if (empty($_POST['email'])) $_POST['email'] = $INFO['userinfo']['mail']; ?> <div class="centeralign"> - <form name="register" method="post" action="<?php echo wl($ID)?>" accept-charset="<?php echo $lang['encoding']?>"> + <form id="dw__register" method="post" action="<?php echo wl($ID)?>" accept-charset="<?php echo $lang['encoding']?>"> <fieldset style="width: 80%;"> <input type="hidden" name="do" value="profile" /> <input type="hidden" name="save" value="1" /> @@ -977,7 +977,7 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed? ?> - <form name="editform" method="post" action="<?php echo script()?>" accept-charset="<?php echo $lang['encoding']?>"> + <form id="dw__editform" method="post" action="<?php echo script()?>" accept-charset="<?php echo $lang['encoding']?>"> <table style="width:99%"> <tr> <td class="toolbar" colspan="2"> @@ -1175,7 +1175,7 @@ function html_resendpwd() { print p_locale_xhtml('resendpwd'); ?> <div class="centeralign"> - <form name="resendpwd" action="<?php echo wl($ID)?>" accept-charset="<?php echo $lang['encoding']?>" method="post"> + <form id="dw__resendpwd" action="<?php echo wl($ID)?>" accept-charset="<?php echo $lang['encoding']?>" method="post"> <fieldset> <br /> <legend><?php echo $lang['resendpwd']?></legend> diff --git a/inc/template.php b/inc/template.php index f12788834..e9aba3297 100644 --- a/inc/template.php +++ b/inc/template.php @@ -491,7 +491,7 @@ function tpl_searchform($ajax=true,$autocomplete=true){ global $lang; global $ACT; - print '<form action="'.wl().'" accept-charset="utf-8" class="search" name="search"><div class="no">'; + print '<form action="'.wl().'" accept-charset="utf-8" class="search" id="dw__search"><div class="no">'; print '<input type="hidden" name="do" value="search" />'; print '<input type="text" '; if($ACT == 'search') print 'value="'.htmlspecialchars($_REQUEST['id']).'" '; @@ -799,7 +799,7 @@ function tpl_mediauploadform(){ if(!$UPLOADOK) return; - ptln('<form action="'.DOKU_BASE.'lib/exe/media.php" name="upload"'. + ptln('<form action="'.DOKU_BASE.'lib/exe/media.php" id="dw__upload"'. ' method="post" enctype="multipart/form-data">',2); ptln($lang['txt_upload'].':<br />',4); ptln('<input type="file" name="upload" class="edit" onchange="suggestWikiname();" />',4); |