Commit graph

277 commits

Author SHA1 Message Date
Robert Gaggl
1f54fa20a9 re-added preview.skin, this one is used for rendering images in a gallery 2004-01-06 16:16:12 +00:00
a8498b46c5 modified layout to achieve more consistency 2004-01-03 17:32:00 +00:00
956912eea0 copied topic_macro from story to gallery_macro 2004-01-02 22:17:08 +00:00
419ca9c8c6 retouched layout to become more concistent 2004-01-02 22:06:37 +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
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
666a8734ac initial check-in 2003-12-08 22:59:01 +00:00
Robert Gaggl
8da39d7053 renamed to mgrlistitem.skin 2003-12-08 22:55:43 +00:00
Robert Gaggl
1bb182ba72 - added method getFile() which returns a File object representing the image on disk
- modified getPopupUrl(): use res.push()/res.pop() instead of a StringBuffer (for performance reasons)
- modified getUrl(): ditto
- renamed dump() to dumpToZip()
2003-12-08 21:23:41 +00:00
Robert Gaggl
a28bec93fb fixed a bug that would display "on" even if there's no image createtime (which is the case for imported images) 2003-12-08 21:08:50 +00:00
Robert Gaggl
f4a90271d7 removed pixel.gif 2003-12-08 20:50:32 +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
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
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
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
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
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
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
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
Michael Platzer
22c1e4c5ef (finally) merged imagetopics branch to HEAD 2003-11-01 15:24:07 +00:00
Michael Platzer
268c998b5a fixed tiny typo in comments 2003-10-29 16:25:34 +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
4b3ce773a8 - modified editlink_macro() and deletelink_macro() since checkXxx now throws a DenyException
- fixed some comments
- removed unused hasthumbnail_macro()
2003-09-07 21:06:36 +00:00
Robert Gaggl
570c419ea1 rewrote permission framework: renamed isXxxDenied() to checkXxx(), all check-methods now throw a DenyException object instead of returning an Exception object 2003-09-07 21:02:26 +00:00
Robert Gaggl
1bb142aa57 initial check-in: merged former .hac files into single actions.js files 2003-08-02 12:20:05 +00:00
Robert Gaggl
b1d3bb6870 modified comments 2003-08-02 12:19:11 +00:00
Robert Gaggl
ead9d08495 - added checkAccess() that is called by onRequest() to check if a user is allowed to request a certain action
- added method isDeleteDenied()
2003-08-02 12:06:22 +00:00
Robert Gaggl
ee45995b9a - changed to use AntvilleLib methods
- added constructor function
- modified/simplyfied image handling methods
- removed caching from getStaticUrl()
2003-08-02 11:28:33 +00:00
Robert Gaggl
480815bc75 slightly modified code-text 2003-08-02 11:11:30 +00:00
Robert Gaggl
91aa97ea77 - changed to use AntvilleLib methods 2003-08-02 11:01:25 +00:00
Robert Gaggl
bec9671d2b - changed from input type="button" to type="submit"
- changed attribute names to html-conform ones (with -> cols, height -> rows)
2003-08-02 10:40:41 +00:00
Robert Gaggl
59ba787765 moved to imagemgr 2003-08-02 10:28:01 +00:00
Robert Gaggl
81f0c559e7 removed because .hac-files were merged into single actions.js files 2003-08-02 10:24:52 +00:00
Hannes Wallnöfer
eb22b91925 Move alt-text below the image. 2003-04-04 08:53:23 +00:00
Hannes Wallnöfer
00b7d1ab5e * fix CSS class name (storyTitle instead of storytitle)
* display alt-text as normal text instead of storyTitle
* move image info below the name into a separate line
* use <div> instead of <span><br> where approprate
2003-04-04 08:52:02 +00:00
Hannes Wallnöfer
a4f0037781 Improvements on image and file preview:
* fix CSS class name (storyTitle instead of storytitle)
* move file/image info below the name into a separate line
* use <div> instead of <span><br> where approprate
2003-04-04 08:44:02 +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
50890759ad validated almost every page (at least apart from the system management stuff) with the w3c validator at http://validator.w3.org and modified the skins where necessary. furthermore i tried to arrange some layouts (files, images, polls) to better and more consistently harmonize with the general antville appearance. 2003-03-05 18:39:37 +00:00
Robert Gaggl
62617fc210 implemented icon-handling (contributed by michi platzer) 2003-02-14 13:38:50 +00:00
Robert Gaggl
242a5a67d9 delete param-property "what" in show_macro(), otherwise it will be rendered in img-tag 2003-02-03 11:15:34 +00:00
Robert Gaggl
a5d7877485 corrected check for png-images (they can have image/png or image/x-png as content-type) 2003-01-05 22:57:15 +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
7dbd8cb9e3 renamed to securityFunctions.js 2003-01-02 18:55:12 +00:00
Robert Gaggl
52439f0b36 popupUlr() now uses (cached) getStaticUrl() instead of doing the same thing too 2002-12-17 21:52:20 +00:00
Robert Gaggl
42e0f21580 merged need_for_speed branch 2002-12-01 19:26:40 +00:00
Robert Gaggl
852a813ac4 removed creator_macro() since this is a hopobject-macro now 2002-09-02 20:13:33 +00:00
16632edb72 replaced all occurrences of "this" with the name of the corresponding prototype 2002-08-09 15:45:59 +00:00
9b0fe89b55 removed a <tr> too many 2002-07-29 12:09:16 +00:00
1bdafc20a0 moved createtime_macro() to macros.js in hopobject prototype 2002-07-26 12:38:44 +00:00
Robert Gaggl
e999cc25b7 changed evalImg(): it's not possible anymore to change the alias of the image (due to possible data-loss) 2002-07-19 09:05:04 +00:00