|
Revision 27, 1.3 KB
(checked in by alexx, 7 years ago)
|
- Add support for .node album in Meta album (not usefull for dotnode.com user, but good for other "Open .node" installation that want to import dotnode.com album)
- Add REST api to access .node Album (must be extented later with other module of .node)
- Add forgotten icons for meta album
- Add dPics scripts to automagicaly resize requested image with size put in his url (<dpics script>/500x400/<file_path>.jpg => give you <file_path>.jpg in 500x400)
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | if(is_valid('metalbum_name', $token[3])) { |
|---|
| 26 | list($login, $type) = split('@', $token[3]); |
|---|
| 27 | $db->query('DELETE FROM metalbum WHERE id=? AND login=? AND type=?', array($_SESSION['my_id'], $login, $type)); |
|---|
| 28 | } |
|---|
| 29 | header('Location: /metalbum'); |
|---|
| 30 | ?> |
|---|