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
Robert Gaggl
8728b8a9b7
added method getUrl()
2003-11-23 18:32:30 +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
0e16e02d41
reformatted html-code
2003-11-23 18:31:19 +00:00
Robert Gaggl
c5f92a1d3a
getStaticUrl() was renamed to getUrl(), popupUrl() to getPopupUrl()
2003-11-23 18:30:37 +00:00
Robert Gaggl
eaa3cad588
added some layout-related system messages
2003-11-23 18:29:19 +00:00
Robert Gaggl
9152c521c9
re-added main skinmgr page
2003-11-23 18:28:46 +00:00
Robert Gaggl
2eddfe5d9b
added linkedpath on top, replaced the code of the image with a call of image.code_macro()
2003-11-23 18:27:46 +00:00
Robert Gaggl
f5d1e28d15
root.systitle_macro() was renamed to root.title_macro(), dto. with root.sysurl_macro()
2003-11-23 18:26:56 +00:00
Robert Gaggl
7d26513b9f
removed unused description_macro() since there is no user.description property anymore
2003-11-23 18:25:22 +00:00
Robert Gaggl
f8f3f7759f
- removed modifier_macro() since it's now a hopobject macro
...
- removed some trailing spaces
2003-11-23 18:24:44 +00:00
Robert Gaggl
466a517fd2
- removed skinsets_macro() since there are no skinsets anymore (but layouts)
...
- moved skinstatus_macro() from prototype skin to skinmgr
- removed skinsetchooser_macro() since there are no skinsets anymore (but layouts)
- moved help_macro() from prototype skin to skinmgr
2003-11-23 18:23:45 +00:00
Robert Gaggl
a503ca2260
- removed all layout-related macros (they're now macros of prototype layout)
...
- removed skinsetchooser_macro(), added layoutchooser_macro()
- minor code-formatting
2003-11-23 18:21:55 +00:00
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
2b110e1f29
modified table creation scripts to create table AV_LAYOUT, add an initial layout object and it's standard images
2003-11-23 17:55:00 +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