fix E_NOTICE in tag2tagadd and make tag2tagadd xhtml valid
This commit is contained in:
parent
6bf4e76495
commit
b4f9d3b126
2 changed files with 6 additions and 2 deletions
|
@ -4,7 +4,7 @@ $this->includeTemplate($GLOBALS['top_include']);
|
|||
|
||||
<form action="<?php echo $formaction; ?>" method="post">
|
||||
|
||||
<p align=right" style="float:right">
|
||||
<p align="right" style="float:right">
|
||||
<small style="text-align:right"><?php echo T_('Note: use "=" to make synonym two tags. e.g.: france=frenchcountry')?></small><br/>
|
||||
<small style="text-align:right"><?php echo T_('Note: use ">" to include one tag in another. e.g.: europe>france>paris')?></small><br/>
|
||||
</p>
|
||||
|
|
|
@ -40,7 +40,11 @@ if(!$userservice->isLoggedOn()) {
|
|||
}
|
||||
|
||||
/* Managing path info */
|
||||
if (isset($_SERVER['PATH_INFO'])) {
|
||||
list ($url, $tag1) = explode('/', $_SERVER['PATH_INFO']);
|
||||
} else {
|
||||
$url = $tag1 = null;
|
||||
}
|
||||
|
||||
if (POST_CONFIRM != '') {
|
||||
$tag1 = POST_TAG1;
|
||||
|
|
Loading…
Reference in a new issue