Commit graph

3182 commits

Author SHA1 Message Date
Robert Gaggl
2321a53cc1 now using passed param-object directly instead of creating a new instance of it 2002-06-03 23:25:43 +00:00
Robert Gaggl
995cce36e1 fixed typo 2002-06-03 23:24:27 +00:00
Robert Gaggl
a77c750406 added assignment of param.width to param.size (temporary, i think we should drop the usage of non-html-attributenames) 2002-06-03 23:22:55 +00:00
ffca47cc52 fixed markup to be xhtml compatible 2002-06-03 17:10:21 +00:00
80daa06c2a res.write(simpleDropDownBox()) is replaced by renderDropDownBox() in level_macro() 2002-06-03 17:09:19 +00:00
d052a593c6 threw out markup and using global functions openMarkupElement() et. al. instead 2002-06-03 17:02:29 +00:00
69216f2b3e new function getStaticUrl() 2002-06-03 17:00:08 +00:00
a8599fa882 new and improved function createLinkParam() 2002-06-03 16:59:48 +00:00
7a1bdb8327 kept already deprecated function cloneObject() for later use (you'll never know...) 2002-06-03 16:59:03 +00:00
284ee190e0 threw out markup and using global functions openMarkupElement() et. al. instead 2002-06-03 16:57:07 +00:00
a491176656 res.write(simpleDropDownBox()) is replaced by renderDropDownBox() in level_macro() 2002-06-03 16:56:14 +00:00
9cd45dea94 removed link_macro() and moved check for access permission (param.checkdeny) to hopobject/macros.js:link_macro() 2002-06-03 16:54:34 +00:00
a64eae6318 FIXME!
is param.as == "editor" still in use in choices_macro()?
2002-06-03 16:54:15 +00:00
f7406d2043 the function imageeditor_macro() needs to be fixed 2002-06-03 16:50:54 +00:00
f25b34fb5b new and improved html link macro 2002-06-03 16:50:02 +00:00
2ea7797c89 fixed markup to be xhtml compatible 2002-06-03 16:49:20 +00:00
5f07b15990 threw out markup and using global functions openMarkupElement() et. al. instead 2002-06-03 16:45:08 +00:00
Hannes Wallnöfer
783fb0ff69 changed user.login() to session.login(). 2002-06-02 18:21:16 +00:00
Hannes Wallnöfer
bea7b72a7d Removed meta Content-type tag that contained charset "utf-8"
(which is not necessary because Helma sets this correctly
in the response header and will in most cases be wrong and result
in non-ASCII characters not working because utf-8 is not used
unless explicitly set in server or app properties)

Added link tag for automatic RSS discovery (see
http://project.antville.org/stories/57209/ )
2002-06-02 16:48:54 +00:00
Hannes Wallnöfer
65edd56ae6 changed search form method from POST to GET 2002-06-02 16:40:05 +00:00
Hannes Wallnöfer
75206649b7 found one more instance of "res.body" 2002-06-02 16:39:37 +00:00
Hannes Wallnöfer
b6420af0d0 don't writeln() out the search query. 2002-06-02 16:38:06 +00:00
Hannes Wallnöfer
1a8b17fc38 Use new flexible searchWeblogs() function in root, which potentially
can search in all weblgs, although we don't use/expose that
functionality yet.
2002-06-02 16:33:12 +00:00
Hannes Wallnöfer
97c78a3936 searchWeblogs can now search one or any weblogs and returns
its result as an array of objects holding story ids and weblog alieases.
2002-06-02 16:32:10 +00:00
Robert Gaggl
757069a75f changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 16:18:35 +00:00
Robert Gaggl
d04c718c09 global function getUser() isn't supported anymore, now directly accessing root.users-collection 2002-06-02 16:18:17 +00:00
Robert Gaggl
0e7ae0b9ef change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 16:17:31 +00:00
Robert Gaggl
e6e832fc5e change code according to helma's new session/usermodel:
- changed user.cache to session.data
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 16:16:56 +00:00
Robert Gaggl
959ac4d30f change code according to helma's new session/usermodel:
- changed user.cache to session.data
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 16:12:59 +00:00
Robert Gaggl
fb7f013a5e renamed global function setLayout() to getParent()
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 16:11:59 +00:00
Robert Gaggl
47c84adb40 changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 16:10:00 +00:00
Robert Gaggl
4ec7649a5e renamed global function setLayout() to getParent()
change code according to helma's new session/usermodel:
- changed user.cache to session.data
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 16:09:47 +00:00
Robert Gaggl
87a00c71a6 change code according to helma's new session/usermodel:
- using session.user instead of user
- changed user.cache to session.data
- using session.logout() instead of user.logout()
2002-06-02 16:08:51 +00:00
Robert Gaggl
0c446c8362 change code according to helma's new session/usermodel:
- using session.user instead of user
changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
some code-reformatting done
2002-06-02 16:07:04 +00:00
Robert Gaggl
a5483ec975 change code according to helma's new session/usermodel:
- using session.user instead of user
changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
2002-06-02 16:06:14 +00:00
Robert Gaggl
9b7847eec1 change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
2002-06-02 16:05:37 +00:00
Robert Gaggl
cb35759bd0 changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
2002-06-02 16:05:16 +00:00
Robert Gaggl
bc006ac3eb changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
removed commented out code
2002-06-02 16:03:25 +00:00
Robert Gaggl
bd659fb87c change code according to helma's new session/usermodel:
- using session.user instead of user.uid
changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
2002-06-02 16:02:24 +00:00
Robert Gaggl
c792cea231 added new global macro "username"
change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
2002-06-02 15:57:47 +00:00
Robert Gaggl
b167cce071 now using global function isUserBlocked()
changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
2002-06-02 15:56:44 +00:00
Robert Gaggl
6d1da6e53c change code according to helma's new session/usermodel:
- using session.user instead of user as argument
- changed user.cache to session.data
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 15:55:33 +00:00
Robert Gaggl
0c8b4f852b change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 15:55:05 +00:00
Robert Gaggl
a69b32efdd changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 15:53:49 +00:00
Robert Gaggl
6d3c62ffec change code according to helma's new session/usermodel:
- changed user.cache to session.data
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 15:52:53 +00:00
Robert Gaggl
246724d300 renamed global function setLayout() to getParent()
change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 15:51:26 +00:00
Robert Gaggl
133e9b4a83 now using global functions isUserSysAdmin() and isUserTrusted()
change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 15:48:35 +00:00
Robert Gaggl
2178e1cd3a renamed global function setLayout() to getParent()
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 15:47:37 +00:00
Robert Gaggl
a971f59a73 (hopefully) fixed a bug where setting an offline-story online without a major update wouldn't lead to updating weblog.lastupdate 2002-06-02 15:46:47 +00:00
Robert Gaggl
ef085fe26d change code according to helma's new session/usermodel
- using session.user instead of user
2002-06-02 15:45:05 +00:00