mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-30 14:52:38 -06:00
.tutorial
git-svn-id: svn://ultimatepp.org/upp/trunk@5171 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6416ba3242
commit
d482d800ea
2 changed files with 4 additions and 4 deletions
|
|
@ -7,8 +7,8 @@
|
|||
<INPUT type="submit" value="Add to list">
|
||||
</P>
|
||||
</form>
|
||||
List ($count(LIST)):<br>
|
||||
$for(i in LIST)
|
||||
List ($count(.LIST)):<br>
|
||||
$for(i in .LIST)
|
||||
"$i"
|
||||
$endfor
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@ SKYLARK(HomePage, "")
|
|||
|
||||
SKYLARK(Submit, "submit:POST")
|
||||
{
|
||||
Value h = http["LIST"];
|
||||
Value h = http[".LIST"];
|
||||
ValueArray va;
|
||||
if(IsValueArray(h))
|
||||
va = h;
|
||||
va.Add(http["id"]);
|
||||
http.SessionSet("LIST", va);
|
||||
http.SessionSet(".LIST", va);
|
||||
http.Redirect(HomePage);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue