Robert Gaggl
f6d60962bc
renamed download_action to download_zip_action to prevent problems with eg. ie5.5
2003-11-25 13:36:15 +00:00
Robert Gaggl
0ffe694c31
bugfix in importImage(): create layoutimages, not images, otherwise they won't show up in layoutimagemgr
2003-11-25 13:16:12 +00:00
Robert Gaggl
03536b6f4d
updated to latest version (includes faster HtmlLibrary.js)
2003-11-24 18:28:16 +00:00
Robert Gaggl
1d948ce13a
modified download_action(): changed contentType to application/zip
2003-11-24 14:57:01 +00:00
Robert Gaggl
294510a73e
bugfix: modified colorpicker-macro attributes (copied the old version by mistake)
2003-11-24 14:56:23 +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
3a882965a2
upgraded to latest version (including the ZipLibrary)
2003-11-23 19:28:44 +00:00
Robert Gaggl
b8e4b3d780
- evalImgType is now a global function
...
- renamed popupUrl() to getPopupUrl()
- renamed getStaticUrl() to getUrl() and changed it to use the site's method getStaticUrl()
- added method dump() which creates a temporary HopObject containing the metadata of the image (and its thumbnail if existing)
2003-11-23 19:23:46 +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
bd1a028adf
- removed all layout related editors (they're part of layouts now)
...
- added layoutchooser
2003-11-23 19:20:40 +00:00
Robert Gaggl
f3c2af07bb
- replaced calls of global image macro with layout.image
2003-11-23 19:19:52 +00:00
Robert Gaggl
5c09f3ad7e
- removed stylesheet_action() since the sysmgr doesn't have it's own stylesheet anymore (but uses the one from root)
...
- root.getSysTitle() was renamed to root.getTitle()
2003-11-23 19:19:05 +00:00
Robert Gaggl
a6ecf1c2b4
- adapted res.dependsOn() statements in stylesheet and javascript actions because of the new layout objects
...
- first step in tuning rss_action() - using StringBuffers instead of normal variables
2003-11-23 19:17:47 +00:00
Robert Gaggl
de42b3cc6c
removed
2003-11-23 19:15:47 +00:00
Robert Gaggl
7b6d752361
modified filter since we now have two different image prototypes, and we want just the site images in this collection
2003-11-23 19:15:22 +00:00
Robert Gaggl
62ff648bb7
removed mountpoints of rootSkinmgr and rootImagemgr (both don't exist anymore)
2003-11-23 19:13:44 +00:00
Robert Gaggl
dc36786608
- changed definition of _children collection since skinmgr now belongs to layout objects
...
- removed collection "shared", added collection "all"
2003-11-23 19:13:08 +00:00
Robert Gaggl
1024fe8205
- added object mapping for layout (removed the one for skinset since there are no skinsets anymore)
...
- some formatting done
2003-11-23 19:11:41 +00:00
Robert Gaggl
61bb86058b
replaced mountpoint "skins" with "layouts" (= layoutmgr of site)
2003-11-23 19:10:41 +00:00
Robert Gaggl
a2b7a121d0
added mountpoint "layouts"
2003-11-23 19:10:00 +00:00
Robert Gaggl
46ff46c72f
modified filter since we now have two different image prototypes, and we want just the site images in this collection
2003-11-23 19:09:30 +00:00
Robert Gaggl
75d4b82159
modified _children.filter since we now have two different image prototypes, and we want just the site images in this collection
2003-11-23 19:09:05 +00:00
Robert Gaggl
c4b620de10
- modified _parent definition (the _parent definition for layoutimages is done in layoutimage/type.properties)
...
- added object mapping for layout
2003-11-23 19:07:56 +00:00
Robert Gaggl
e03866ce79
- replaced call of global image macro with layout.image
...
- use new macrohandler "context" instead of site (since context contains either root or a site object)
2003-11-23 19:07:03 +00:00
Robert Gaggl
6a817d0cd8
- added sys_layoutchooser_macro()
...
- call root.getTitle() instead of accessing root.sys_title directly (the latter might be empty)
2003-11-23 19:06:00 +00:00
Robert Gaggl
89f5832ecf
replaced call of global image macro with layout.image
2003-11-23 19:05:00 +00:00
Robert Gaggl
aac468b2f9
replaced call of global image macro with the one of layout (since we have a layout object in res.handlers now, and this one manages all layout images)
2003-11-23 19:04:01 +00:00
Robert Gaggl
1c4e70c5aa
- modified since all font- and color preferences are now defined in a layout object
2003-11-23 19:03:08 +00:00
Robert Gaggl
999903b34a
- modified since all font- and color preferences are now defined in a layout object
...
- added some more classes (still not finished)
2003-11-23 19:02:41 +00:00
Robert Gaggl
75be9c4a05
added layout chooser form element
2003-11-23 19:01:45 +00:00
Robert Gaggl
025b69e0ff
set res.handlers.layout and res.skinpath according to current root layout
2003-11-23 19:01:15 +00:00
Robert Gaggl
bd949ac8e9
MAY_EDIT_SKINS was renamed to MAY_EDIT_LAYOUTS
2003-11-23 19:00:32 +00:00
Robert Gaggl
aacab6a31e
modified checkAdd() since we just have to do the check for site images now (the check for layout images is done in layoutimgemgr/securityFunctions.js)
2003-11-23 18:59:44 +00:00
Robert Gaggl
f2feb1006c
- changed final redirect to _parent (since an image can also belong to a layout object now)
...
- fixed a typo
2003-11-23 18:58:33 +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
8f0b401a48
removed some empty lines
2003-11-23 18:55:42 +00:00
Robert Gaggl
9c54305c51
image.getStaticUrl() was renamed to image.getUrl()
2003-11-23 18:55:17 +00:00
Robert Gaggl
986b3470fa
root.systitle_macro() was renamed to root.title_macro(), dto with root.sysurl_macro()
2003-11-23 18:54:45 +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
9ccce682ae
- instead of manually constructing the image-code call code_macro()
...
- fixed creator/createtime line since images might not have a creator (after import)
- minor change in layout
2003-11-23 18:53:35 +00:00
Robert Gaggl
191167d8e7
use the new macro-handler "context" which either contains root or a site object
2003-11-23 18:51:06 +00:00
Robert Gaggl
32f5e4de95
- stylesheet and javascript are now external files
...
- replaced any calls of global image macro with layout.image (since layout images are now handled by layout objects)
2003-11-23 18:49:59 +00:00
Robert Gaggl
20f20b3406
added setting the default layout
2003-11-23 18:48:45 +00:00
Robert Gaggl
22df53c795
- removed methods isDefaultSkinset(), setDefaultSkinset(), testdriveSkinset(), deleteSkinset() since there are no skinsets anymore
...
- removed unused method getNavigationName()
- added methods saveSkin(), deleteSkin(), deleteAll()
- added getSkinSource() which retrieves either the source of the own skin or the one of the parent layout's skin
- added dumpToZip() which dumps the skin source to a Zip object passed as argument
- added evalImport() that handles the import of a skinset (based on an uploaded zip file)
2003-11-23 18:48:07 +00:00
Robert Gaggl
c7d6babe3b
- removed assignment of layout related preferences (these are part of layout objects now)
...
- added methods getLayout(), getStaticPath(), getStaticUrl(), getStaticDir() and getTitle()
2003-11-23 18:44:09 +00:00
Robert Gaggl
13f2b62f9d
- modified evalNewSite(): each new site now gets an initial layout object (which is a child layout of the currently activated root layout)
...
- added method getUrl() which is used in hopobject.onRequest() to retrieve the currently activated layout object
2003-11-23 18:42:17 +00:00
Robert Gaggl
a96067bfe1
- use res.handlers.context.getTitle() (which returns either a site object's title or the root title)
...
- root.getSysTitle() was renamed to root.getTitle()
2003-11-23 18:40:38 +00:00
Robert Gaggl
380404b230
- evalImgType() is now a global function
...
- call getStaticDir() of _parent to get the directory where images should be stored
2003-11-23 18:38:36 +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
6161a5c494
modified since the app.property "filePath" was removed (use app.properties.staticPath instead or the site/root methods getStaticPath())
2003-11-23 18:35:42 +00:00