6e432aa543
* added skinmgr.globalmacros_macro and prevented output of global macros in skinmgr.macros_macro
...
* fixed bug that caused exception in skinmgr.skinmacros_macro when displaying a custom skin
* fixed default prototype names according to latest helma changes (starting with uppercase)
2004-01-13 10:56:44 +00:00
32323abe65
cleaned up code
2004-01-12 16:44:25 +00:00
29800df812
updated the contents of the global help.js file to reflect the current macros and skins and by the way removed code which was either obsolete, deprecated or went into antvillelib
2004-01-12 15:47:38 +00:00
436fc1061f
rewrote skin help by moving content of the macro.help file into a readable object structure which is transformed into a more scripting-compatible object tree at startup
2004-01-09 19:48:59 +00:00
09e60c0f8a
removed obsolete skin references
2004-01-09 19:39:38 +00:00
Robert Gaggl
4d4e9898b1
changed SKINSETS constant to use mixed case prototype names for root, global and hopobject
2004-01-08 11:03:43 +00:00
Robert Gaggl
cc62ca4364
- changed "user" to "User" since the constructor is called User() now
...
- changed to reflect the latest changes of the application skins
2004-01-08 10:10:01 +00:00
Robert Gaggl
158367fec9
changed membermgr skinset (memberlist.skin was removed, membermgr.new added)
2004-01-04 15:46:06 +00:00
f936937912
enabled renderList function to process arrays, too
2004-01-03 17:03:25 +00:00
103ea6d0b4
fixed bug that prevented page links from being rendered
2004-01-03 15:58:53 +00:00
aaa58baa6f
removed obsolete check of a hex color string's length / already done by String.isHexColor in antvillelib
2004-01-02 22:16:11 +00:00
f4bda5765f
replaced eMail with e-mail
2004-01-02 22:14:57 +00:00
4110c9a515
replaced default separator ">" with ":" in linkedpath_macro
2004-01-02 22:12:25 +00:00
Robert Gaggl
9199bad197
added constants for different "editableby" values
2004-01-02 10:45:42 +00:00
Robert Gaggl
42a108aed5
modified since FileLib methods are now methods of File prototype (FileLib object is deprecated)
2003-12-30 13:04:45 +00:00
Robert Gaggl
8eaaab2ec9
changed since the signatures of some AntvilleLib methods have changed:
...
- Html.dropDown (first argument must be an object containing all attributes of the opening select tag).
- Html.link and Html.linkAsString (first argument must be an object containing all attributes of the a tag).
2003-12-17 22:04:38 +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
3d10204c05
- added method getLanguages() that returns the languages to use for retrieving a message as array
...
- modified getMessage() to use getLanguage()
2003-12-12 12:44:01 +00:00
Robert Gaggl
6ce82fdcab
bugfix: call color macros of layout, not of site
2003-12-10 11:52:48 +00:00
Robert Gaggl
4ddc9cde1e
stylesheet.css was renamed to main.css, also use context.href instead of site.url (since there might be no site in path)
2003-12-10 11:34:26 +00:00
Robert Gaggl
90efa2aa09
DEFAULTIMAGES was renamed to DefaultImages
2003-12-10 11:00:05 +00:00
Robert Gaggl
c5e072b55b
renamed DEFAULTIMAGES to DefaultImages
2003-12-10 10:59:27 +00:00
Robert Gaggl
e3dcfb46d9
modified skinset site.mails since the names of the skins have changed
2003-12-09 19:56:47 +00:00
Robert Gaggl
a73f862797
changed from using StringBuffer to res.push()/res.pop()
2003-12-08 22:37:09 +00:00
Robert Gaggl
c7548b8536
simplyfied html code
2003-12-08 22:32:31 +00:00
Robert Gaggl
98f81924bc
- modified getPoolObj() since there are no "root images" anymore (their metadata is now the business of the global DEFAULTIMAGES object)
...
- minor code formatting
2003-12-08 21:21:12 +00:00
Robert Gaggl
6f5616c362
changed layout (instead of using a table to create the link use the new css class "pagelinkBottom")
2003-12-08 21:17:12 +00:00
Robert Gaggl
56d5afc7a0
- modified logo_macro(): use new object DEFAULTIMAGES to render any of them
...
- modified image_macro(): use new object DEFAULTIMAGES to render any of the former "root images"
- fixed a bug in colorpicker_macro(): use res.push()/res.pop(), otherwise the macro would render the input directly to response
2003-12-08 20:55:42 +00:00
Robert Gaggl
3fc7ce5329
- added constant object DEFAULTIMAGES that contains the metadata of all default images (logos, pixel, marquee)
...
- added constant SKINSETS that contains the structure of the skinmgr (for both root- and site skinmanager)
- added constructor for Skinset objects (used for constructing the SKINSETS constant)
2003-12-08 20:44:57 +00:00
Robert Gaggl
9d0e77b66b
pixel.gif is no longer part of layout but of standard images (therefor using global image macro instead of layout.image)
2003-12-08 20:43:02 +00:00
Robert Gaggl
60d3356cf5
stylesheet action is now called stylesheet.css
2003-12-08 20:41:47 +00:00
Hannes Wallnöfer
256ab22b4b
Open extended colorpicker popup with the right size.
...
Resizing popup windows is not implemented very well on Mozilla/Linux.
2003-12-04 10:02:29 +00:00
Hannes Wallnöfer
1ff51d9382
Make colorpicker scripts work on mozilla by adding a
...
parseColor() function that converts different color notations
(such as rgb(r, g, b)) into a canonical six-figure hexadecimal
number notation.
2003-12-03 17:57:24 +00:00
Robert Gaggl
3557c3e5c6
bugfix: can't use res.handlers.context since it's assigned after autoLogin is called
2003-11-23 19:59:54 +00:00
Robert Gaggl
9d01ab146f
- modified image_macro(): replaced if/else if with switch
...
- minor code formattings
2003-11-23 19:21:35 +00:00
Robert Gaggl
f3c2af07bb
- replaced calls of global image macro with layout.image
2003-11-23 19:19:52 +00:00
Robert Gaggl
9c54305c51
image.getStaticUrl() was renamed to image.getUrl()
2003-11-23 18:55:17 +00:00
Robert Gaggl
64aa51aaca
- replaced any calls of global image macro with layout.image (since layout images are now handled by layout objects)
2003-11-23 18:53:52 +00:00
Robert Gaggl
df31ba8574
- moved the former image-method evalImgType() to global
...
- use res.handlers.context now (which contains either root or a site object)
2003-11-23 18:37:08 +00:00
Robert Gaggl
7f7e078fa0
replaced calls of global image.macro with layout.image (since layout images are now handled by layout objects)
2003-11-23 18:32:03 +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
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
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
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
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
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
Robert Gaggl
a878d0b2f2
initial check-in: used for rendering the page navigation bar in mgr-mountpoints
2003-10-15 20:02:17 +00:00
Robert Gaggl
bd5eabe5ae
added methods renderList(), renderPageNavigation() and renderPageNavItem() that are used for rendering lists in mgr-mountpoints and rendering the page navigation
2003-10-15 19:58:26 +00:00