Commit graph

105 commits

Author SHA1 Message Date
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
Robert Gaggl
a42a6a6f82 - changed form because specifying a name is not mandatory anymore
- now using global input-macro (which echoes request data by default)
- removed checkbox for creating a thumbnail (this is done automatically now if width or height of the uploaded image exceeds 100 pixel)
2002-07-19 09:00:56 +00:00
Robert Gaggl
b7c620927b - removed input for changing name (alias) of image
- added missing name-attributes for buttons (also the input-macro is now a global macro)
2002-07-19 08:58:00 +00:00
Hannes Wallnöfer
0b2da64e2a Add an input field for optional URL from which to fetch image.
Also, echo request data instead of image object data in input forms
where possible so that users don't have to retype everything just because
something is missing.
2002-07-18 12:49:55 +00:00
Robert Gaggl
c882d3d7e6 changed because the prototype weblog was renamed to site 2002-06-26 17:29:39 +00:00
Robert Gaggl
317ad99ea6 - changed because the prototype weblog was renamed to site
- removed hardcoded messages with getMsg()
2002-06-26 17:17:07 +00:00
Robert Gaggl
2a8e348e93 removed hardcoded "Antville" in page-title
changed because the prototype weblog was renamed to site
2002-06-26 16:44:27 +00:00
Robert Gaggl
c6986e3027 changed because the prototype weblog was renamed to site 2002-06-26 16:31:49 +00:00
Robert Gaggl
72d830c930 changed because the prototype weblog was renamed to site 2002-06-26 16:23:37 +00:00
Robert Gaggl
f8db009bff changed type.properties according to new database-schema:
- all tables are prefixed with AV_
- WEBLOG was renamed to AV_SITE
- GOODIE was renamed to AV_FILE
- all columns are prefixed with the table-name (without table-prefix)
- foreign keys follow a specific naming-convention
(for details see http://project.antville.org/topics/feature+requests+and+proposals/69427/)
2002-06-26 16:03:59 +00:00
Robert Gaggl
23e0cab449 merged changes done in branch "grob_message" into main trunk (application-messages are no longer hardcoded in functions but are defined in central language-specific .js-files; application-messages are selected according to defined language) 2002-06-12 17:19:47 +00:00
ee2768d049 renderImage went global (in show_macro) 2002-06-04 18:12:30 +00:00
f82b1aa47c moved <form> tags on positions that are appropriate for xhtml compatibility (hopefully...) 2002-06-04 15:34:47 +00:00
3baac801a0 moved renderInputText() et al. and renderImage() from hopobject to global 2002-06-04 14:53:17 +00:00
Robert Gaggl
1e23636419 changed to use global markupelement-functions resp. global openLink() and closeLink()-funtions
also formatTimestamp() is a global function now
2002-06-04 14:17:25 +00:00
ffca47cc52 fixed markup to be xhtml compatible 2002-06-03 17:10:21 +00:00
69216f2b3e new function getStaticUrl() 2002-06-03 17:00:08 +00:00
2ea7797c89 fixed markup to be xhtml compatible 2002-06-03 16:49:20 +00:00
Robert Gaggl
0e7ae0b9ef change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 16:17:31 +00:00
Robert Gaggl
9b7847eec1 change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
2002-06-02 16:05:37 +00:00
Robert Gaggl
a69b32efdd changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 15:53:49 +00:00
Robert Gaggl
6fa414dd0e assign form-action to res.data.action 2002-05-15 23:12:41 +00:00
Robert Gaggl
2e859f2bf1 include action in form-tag 2002-05-15 23:06:41 +00:00