Commit graph

2901 commits

Author SHA1 Message Date
Robert Gaggl
540c81b232 - renamed systitle_macro() to title_macro() which calls getTitle() to return the system title
- fixed some comments
- added sysmgrnavigation_macro() for rendering the system manager navigation
2003-11-23 18:18:58 +00:00
Robert Gaggl
a9bb4816c2 removed call of checkView in viewlink_macro() 2003-11-23 18:17:19 +00:00
Robert Gaggl
0c81881baa - getStaticUrl() was renamed to getUrl()
- popupUrl() was renamed to getPopupUrl()
2003-11-23 18:16:28 +00:00
Robert Gaggl
7335bbf21e - url_macro() is now just a wrapper of getUrl()
- modified deletelink_macro() to call checkDelete() instead of checkEdit()
- getStaticUrl() was renamed to getUrl()
- added code_macro() that generates the macro-code for embedding an image (either layoutimage or image)
2003-11-23 18:15:28 +00:00
Robert Gaggl
cde3f9e583 added generic modifier_macro() 2003-11-23 18:08:45 +00:00
Robert Gaggl
541dd9cdde url_macro() is now just a wrapper for getUrl() 2003-11-23 18:08:12 +00:00
Robert Gaggl
22257b3fa8 minor layout modification 2003-11-23 18:07:30 +00:00
Robert Gaggl
b4951e7e1e replaced calls of global image_macro() with calls of layout.image_macro() (since the images are now the business of layout objects) 2003-11-23 18:06:59 +00:00
Robert Gaggl
8515f02dc9 - replaced call of skinmgr.skineditor_macro() with direct embedding of textarea (the skinsource is fetched by the action)
- added call of help_macro()
2003-11-23 18:05:35 +00:00
Robert Gaggl
5d6a3e346e - reformatted html code
- fixed creator/createtime line since images might not have a creator
2003-11-23 18:04:07 +00:00
Robert Gaggl
0fd6103daf root.systitle_macro() was renamed to root.title_macro(), dto. with root.sysurl_macro 2003-11-23 18:03:09 +00:00
Robert Gaggl
71a3a4b260 - renamed constant MAY_EDIT_SKINS to MAY_EDIT_LAYOUTS
- removed DISPLAY.skinset, added some more properties to constant for new prototypes (used in linkedpath_macro())
2003-11-23 18:02:41 +00:00
Robert Gaggl
e53d95f2d8 replaced calls of global image-macro with calls of layout.image (res.handlers.layout contains the activated layout object) 2003-11-23 18:00:58 +00:00
Robert Gaggl
34e457fec9 replaced properties imgPath, filePath, imgUrl and fileUrl with the two properties staticPath and staticUrl (images and files of sites are now located in subdirectories) 2003-11-23 17:58:29 +00:00
Robert Gaggl
e048de99d0 replaced link to skinmgr with link to layoutmgr 2003-11-23 17:54:10 +00:00
Robert Gaggl
e48fa72acb - removed create_action() since there are no skinset anymore (but layouts)
- modified diff_action() to retrieve the parent's skin as original skin (or the application skin if there is no parent)
2003-11-23 17:53:39 +00:00
Robert Gaggl
dd7e9a722f - redirect to layout since there is no skinset anymore
- use res.handlers.context (which either contains root or a site object)
2003-11-23 17:52:10 +00:00
Robert Gaggl
f9985ef9ce - root.getSysTitle() was renamed to getTitle()
- added stylesheet_action() and javascript_action() for rendering external stylesheet/javascript
2003-11-23 17:50:58 +00:00
Robert Gaggl
5f8ae206d9 - root.getSysTitle() was renamed to getTitle()
- minor code-formatting
2003-11-23 17:50:01 +00:00
Robert Gaggl
469e936af6 - using new res.handlers.context object for rendering page.skin (res.handlers.context either contains root or a site object) 2003-11-23 17:48:55 +00:00
Robert Gaggl
9eecb1fdec using new res.handlers.context object for rendering page.skin (res.handlers.context either contains root or a site object) 2003-11-23 17:47:30 +00:00
Robert Gaggl
b9d2030f1e initial check-in 2003-11-23 17:46:34 +00:00
e2f5eca2c0 removed debug.js which got in here by accident 2003-11-18 14:31:51 +00:00
73ca975e42 restored and fixed colorpicker to regain flexible functionality and way-backwards-compatibility
* fixed bug that prevented colorpicker from working at all
* fixed bug that prevented display of colors that are changed but not saved
* <% colorpicker name="xyz" %> now renders the default colorpicker
* <% colorpicker name="xyz" skin="colorpickerExt" %> renders the extended version (or any other depending on the skin)
* modified site's edit.skin to open the extended version
* put client-side scripts and functionality into global Antville object to define a strict namespace
* updated AntvilleLib
NOTE: THIS IS STILL WORK IN PROGRESS
2003-11-14 10:47:51 +00:00
463d4b3177 added param.as parameter in <% username %> according to changes in username_macro 2003-11-11 15:05:12 +00:00
9db89cb465 enabled username_macro to display a link only if param.as is set to "link" in the macro call.
(ie. by default username_macro only renders the username as text.)
2003-11-11 14:57:01 +00:00
Michael Platzer
22c1e4c5ef (finally) merged imagetopics branch to HEAD 2003-11-01 15:24:07 +00:00
4e5609864a added description as title attribute in file link 2003-10-30 15:38:34 +00:00
c61ac74b09 moved "user-safe" javascript stuff into root/systemscripts which is
automatically appended onto site/javascript.skin
(root/safescripts_action is deprecated now)
2003-10-30 14:59:28 +00:00
a036ee7912 * modified file_macro to accept a custom text, too (FIXME: this is a hack)
* added return statement where missing
* removed deprecated macros
* introduced randomize_macro
2003-10-30 14:50:16 +00:00
3471f00ae8 modified file link to accept a custom text, too (FIXME: this is a hack) 2003-10-30 14:47:21 +00:00
024a38a34f added name data 2003-10-30 14:45:48 +00:00
Robert Gaggl
4d2d82ef63 bugfix in evalStory(): assign this._id instead of this.id to result object 2003-10-30 12:39:53 +00:00
Robert Gaggl
0688407c09 modified story_macro(): the macro now returns nothing if the site containing the requested story is offline (should fix bug 299: http://helma.org/bugs/show_bug.cgi?id=299) 2003-10-30 09:57:11 +00:00
Robert Gaggl
495084a2e6 bugfix: use session.data.mgr for rendering list and pagenavigation, otherwise submitted form values have no effect at all 2003-10-30 09:47:40 +00:00
Michael Platzer
c985d686eb fixed bug in linkedpath macro which occured when using this on a site, which is the front site of an antville installation; i.e. if no path.site exist 2003-10-29 16:26:38 +00:00
Michael Platzer
268c998b5a fixed tiny typo in comments 2003-10-29 16:25:34 +00:00
Michael Platzer
c1952c0138 implemented RSS feeds for topics (and days) by simply wrapping the site.rss_action 2003-10-29 16:24:09 +00:00
Hannes Wallnöfer
518a568053 Remove assignment of description property to new user which isn't defined
and causes an error in the SQL insert code.
2003-10-29 11:38:48 +00:00
Hannes Wallnöfer
66da088957 Use res.handlers.context to get the site/server title 2003-10-23 17:48:20 +00:00
b8aec719dc redirect to main action of an image after creation 2003-10-17 08:42:06 +00:00
47eef10af3 added table rows and cells for better display 2003-10-16 17:57:46 +00:00
a9965c9657 added <noscript> tag with some information about the new way referrers work 2003-10-16 17:55:08 +00:00
9b9f595d08 decreased size of spamfilter textarea and added some explanation 2003-10-16 17:44:21 +00:00
0242b38da8 removed "instead" at the end of the text 2003-10-16 17:38:15 +00:00
8b41b1fc1d added class definitions according to old backlinks layout 2003-10-16 17:34:12 +00:00
4ae5ec0482 * modified referrers to be written by client-side javascript code
* added filters to sort out spam, search referrers or the like
2003-10-16 17:29:10 +00:00
2c9c1262d1 removed tag for external "safescripts" file -- code has moved to
root/systemscripts.skin and is included in site/javascript.skin via macro
2003-10-16 17:27:53 +00:00
0a55f0e398 added system-wide javascript code via skin macro 2003-10-16 17:25:56 +00:00
4e37c2b08d * renamed safescripts.skin to systemscripts for convenience
* added Antville object which will contain all of the Antville-specific, client-side javascript code from now on and in the future
2003-10-16 17:20:51 +00:00