Robert Gaggl
cec6de53a7
do not clone the param object anymore, this is done in Html library if necessary
2004-01-05 12:50:12 +00:00
bbecafaf05
removed skin_macro because this went into antvillelib already
2004-01-02 23:01:54 +00:00
Robert Gaggl
67f80fbb1a
added method createCheckBoxParam() that returns a special parameter object for rendering checkboxes (which is different from the one created by createInputParam())
2004-01-02 10:43:06 +00:00
Robert Gaggl
52de311062
changed since the signature of Html.link(AsString) has changed (first argument must be an object containing all attributes of the a tag).
2003-12-17 22:04:16 +00:00
Robert Gaggl
290df92ef8
skinpath is now set using layout.getSkinPath()
2003-12-08 22:39:45 +00:00
Robert Gaggl
898404a923
modified onRequest():
...
- assign the currently active layout to res.handlers.layout, also added check if user has a layout object in the session (for testdriving it)
- define the skinpath according to the layout object
- only call checkAccess if the user isn't a sysadmin (which means that sysadmins are basically allowed to do anything)
2003-11-23 18:57:37 +00:00
Robert Gaggl
cde3f9e583
added generic modifier_macro()
2003-11-23 18:08:45 +00:00
Hannes Wallnöfer
e8adb95a2c
Added support for skinsets:
...
* Skins are attached to skinset rather than site objects
* Each site can have multiple skinsets
* Skinsets can inherit from each other
* Added subclasses of imagemgr and skinmgr that mount on root/manage
2003-10-07 15:14:47 +00:00
Robert Gaggl
91c24d6540
modified onRequest(): all checkAccess() methods now set res.message themselves (and do a res.redirect if necessary), so just call checkAccess()
2003-09-07 20:56:46 +00:00
Robert Gaggl
e839d7e343
removed
2003-08-02 12:22:00 +00:00
Robert Gaggl
8d7737d4d4
- modified onRequest(): it now calls checkAccess() to determine if a user is allowed to request a certain action
...
- added basic method checkAccess() allowing everything which is overwritten by prototypes
2003-08-02 12:06:01 +00:00
Robert Gaggl
30da41a5eb
- changed to use AntvilleLib methods
...
- modified createInputParam: submitted values now override property values
2003-08-02 11:26:34 +00:00
Robert Gaggl
c352b6d11c
- removed href_macro() because this is part of AntvilleLib now
...
- removed deprecated input_macro() - use the global one instead
- removed check for param.checkdeny in link_macro since i couldn't figure out why it was there
2003-08-02 10:53:21 +00:00
Robert Gaggl
eee0bf7f5d
changed from input type="button" to type="submit"
2003-08-02 10:41:03 +00:00
Hannes Wallnöfer
88773b0916
Fix typo (klick/click)
2003-05-09 13:38:19 +00:00
524d7a38a3
still fixed html where necessary to achieve maximum xhtml conformance; furthermore i tried to find a more expressive title for every page output (most of them were set to the site title only which does not help a lot when navigating with the browser history); last but not least many editor forms where adapted to gain a concistent general layout.
2003-03-07 19:27:48 +00:00
1ecc716b8b
edited textual contents
2003-03-07 14:04:45 +00:00
6e01831dc6
fixed bug in link_macro() that caused invalid html attribute (checkdeny="true") to appear
2003-03-05 18:44:45 +00:00
Robert Gaggl
ac6f5f8c60
- removed renderInputRadio which was commented out anyways (the real one is in global/renderFunctions.js)
...
- changed renderDateformatChooser() to use format-constants instead of calling getDefaultDateFormats()
2003-03-03 12:09:57 +00:00
Robert Gaggl
52f713f714
added standard url_macro(), slightly changed skin_macro()
2003-03-03 12:08:12 +00:00
Robert Gaggl
5dc112e6b2
- changed createInputParam(): value is not form-encoded anymore, this is done in renderInput* if necessary.
2003-02-04 12:18:37 +00:00
Robert Gaggl
20940d1aa3
changed createInputParam(): the value is now form-encoded, otherwise quotes would break the rendering
2003-02-03 11:24:08 +00:00
Robert Gaggl
bf40bb5ae9
changed default memberlevel from 0 to null (because 0 is the level of a subscriber)
2003-01-23 21:30:43 +00:00
8b42344a48
moved modifytime_macro() to hopobject prototype
2003-01-07 10:57:31 +00:00
Robert Gaggl
ff01391d37
securityFunctions now need the membership-level of a user as second argument
2003-01-02 19:05:03 +00:00
Robert Gaggl
c61985604c
now calling new function getMembershipLevel() of membermgr to retrieve permission-level of user
2003-01-02 18:54:04 +00:00
Robert Gaggl
9efff41cae
changed linkedpath_macro(): the last item in the breadcrumb-navigation is now also linked if req.action != main and there is a main_action
2002-12-17 21:51:50 +00:00
Robert Gaggl
3fe2e1fb80
added href_macro() (backport from antville.org)
2002-12-17 20:38:14 +00:00
Robert Gaggl
eabe06d1ef
if root.sys_frontSite is set the site-object is now assigned to res.handlers.site instead to path.site
2002-12-02 16:27:03 +00:00
Robert Gaggl
42e0f21580
merged need_for_speed branch
2002-12-01 19:26:40 +00:00
Robert Gaggl
a802feac0b
added creator_macro() since this was used in quite a lot of different prototypes but for some it could render the name of the creator as link and for some not
2002-09-02 20:14:37 +00:00
Robert Gaggl
a8c93d89f7
removed unused macro loopskin - in most cases this macro couldn't be used because specific checks et.al. were necessary
2002-08-14 10:01:23 +00:00
4f02bce6b6
moved function colorpicker_action() from hopobject/actions.js to root/actions.js
2002-08-13 14:35:15 +00:00
f4254a6360
moved historyview.skin from hopobject to story
2002-08-09 16:53:12 +00:00
1957638fcf
turned hopobject macro colorpicker into a global macro
2002-08-09 16:47:28 +00:00
4141b1027c
moved cp_element.skin from hopobject to global
2002-08-09 16:45:55 +00:00
1d08d1f854
changed color input field width back to 10
2002-08-09 07:55:47 +00:00
9e00bedcd1
2002-08-08 16:16:46 +00:00
e90647fc90
moved hopobject/cp_javascript.skin to global/safejs.skin
2002-08-08 16:16:27 +00:00
0a6795757e
moved wrapper functions for javascript and stylesheet actions from hopobject/actions.js to site/actions.js
2002-08-08 12:10:19 +00:00
c282827935
extended regExp for rgb colors to allow more whitespace (just a kind concession)
2002-08-04 10:41:22 +00:00
d2540d1498
renamed renderColorAsString() to parseColor(); added some more extensive checks for rgb values using regExp.
2002-08-04 10:31:21 +00:00
11bec4042e
moved part parsing the color string to new function parseColor() in cp_javascript.skin
2002-08-04 10:27:50 +00:00
4f73818d0a
added some more checks to make the input failsafe
2002-08-04 00:28:02 +00:00
fa7018febc
finally added a list of colornames to check against entered form values; simultaneously made some changes from before undone
2002-08-04 00:04:18 +00:00
9201c41331
rgb(r,g,b) values are now displayed as hex colors, too
2002-08-03 22:58:33 +00:00
35022eaa92
removed init script and call for it (color squares are built anyway)
2002-08-03 22:11:22 +00:00
1cad1e82ce
fixed output for mozilla browsers (they had some problems displaying the color squares without whitespace); removed old code.
2002-08-03 21:37:46 +00:00
41929108d7
fixed bug that prevented color plates from initially being displayed.
2002-08-02 18:09:54 +00:00
0fce11dfa5
revamped the colorpicker (pls. refer to http://project.antville.org/20020801/111364/#112621 )
2002-08-02 16:27:19 +00:00