Robert Gaggl
ebf4da03e0
- directly embedded navigation for all users
...
- embedded two macros for navigation for admins and contributors (they can be positioned freely now)
- replaced search-link with input plus button
2002-07-19 12:42:17 +00:00
Robert Gaggl
00330ad4f5
added class searchbox
2002-07-19 12:40:43 +00:00
Robert Gaggl
b1c82700aa
added a new message for disabled discussions on story, changed confirm-messages for fileCreate and imageCreate
2002-07-19 09:09:43 +00:00
Robert Gaggl
c459331f8d
- changed evalFile(): it's not possible anymore to change the alias of a file-object
2002-07-19 09:08:41 +00:00
Robert Gaggl
5dc2e71354
- changed evalFile(): if no alias is specified, an alias based on the name of the uploaded file is created; if the alias is already in use, a number is added to it and increased until an unused alias is found; uploading of files without an extension also works now
2002-07-19 09:08:12 +00:00
Robert Gaggl
f1a15bf84a
added function buildAliasFromFile: function constructs an alias (without any special characters) based on the name of the uploaded file
2002-07-19 09:05:54 +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
db54606305
added assignment of discussions-flag
2002-07-19 09:04:22 +00:00
Robert Gaggl
f8c397e3ba
- changed evalImg(): if no alias was specified, an alias is constructed based on the name of the uploaded file
...
- if the alias (specified or constructed) already exists, a number is added to the name and increased until an unused alias is found.
- an thumbnail is created automatically if the width or height of the uploaded image > 100 pixel
2002-07-19 09:03:57 +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
db8750202a
- changed form because specifying a name is not mandatory anymore
...
- now using global input-macro (which echoes request data by default)
2002-07-19 08:59:43 +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
Robert Gaggl
f1c925ea85
removed input for changing name (alias) of file
2002-07-19 08:57:19 +00:00
Robert Gaggl
4359906034
changed renderTextPreview(): this should speed things up a bit; added format() at end of function
2002-07-19 08:55:43 +00:00
Robert Gaggl
132b0de808
- added function hasDiscussions()
...
- removed format() at end of getRenderedContentPart(): this is now done right before it's rendered because it lead to some problems in site-historylist (when <wbr>-tags were inserted in the middle of an html-entity)
2002-07-19 08:54:40 +00:00
Robert Gaggl
eadb6a14ff
now using commentlink-macro instead of standard link (the commentlink disappears if discussions are disabled for a story)
2002-07-19 08:52:19 +00:00
Robert Gaggl
ba7ab29e93
added property discussions (mapped to TEXT_HASDISCUSSIONS)
2002-07-19 08:51:26 +00:00
Robert Gaggl
c59f3bf501
isPostDenied() now checks if comments are disabled for a story
2002-07-19 08:51:00 +00:00
Robert Gaggl
d74c8d40fd
added checkbox for enabling/disabling forum beneath the story (default value depends on what is defined in site-preferences)
2002-07-19 08:50:23 +00:00
Robert Gaggl
2f111390b5
now using commentlink instead of standard link-macro (the commentlink disappears if comments are disabled for a story)
2002-07-19 08:49:22 +00:00
Robert Gaggl
e9d8297de7
- reinvoked commentlink_macro(): it's only rendering a link if comments are enabled for this story
...
- changed commentcounter_macro() and comments_macro() too: they also check if discussions are enabled for a story
2002-07-19 08:48:22 +00:00
Robert Gaggl
dcc4bf04b0
changed history_macro(): comments on a story are not shown if the story goes offline or if the creator of the story disables comments afterwards
2002-07-19 08:45:23 +00:00
Robert Gaggl
fad7631307
input_macro() is now a global macro
2002-07-19 08:44:09 +00:00
Robert Gaggl
d2f4fcdb3b
moved input_macro() to global (but left the input_macro() here for backwards-compatibility, calling the global macro)
2002-07-19 08:43:26 +00:00
Robert Gaggl
d5823a468a
- input_macro() moved from hopobject to global (and echoes request data by default)
...
- added missing name-attribute for buttons
2002-07-19 08:42:32 +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
Hannes Wallnöfer
4f5289b7d0
Load image file from URL if no file was uploaded.
2002-07-18 12:48:19 +00:00
Hannes Wallnöfer
3e81880198
catch case where param.rawimage is not defined in evalImg
2002-07-18 12:16:21 +00:00
Hannes Wallnöfer
f3934a22df
added <p> tag around "add new image" link
2002-07-18 12:15:07 +00:00
Hannes Wallnöfer
6aa4e844ba
fixed imgUrl and fileUrl properties so that they match ImgPath and filePath
...
properties in default setup with embedded web server.
2002-07-16 15:23:07 +00:00
2e13dcbe97
arranged layout by removing linebreak which avoids unwanted <br /> tag between question and choices if poll is displayed in a story via poll macro.
2002-07-16 08:30:53 +00:00
Hannes Wallnöfer
4f11bd05f2
Replaced "more topics" and "previous topics" with "next page" and "previous page".
2002-07-15 16:19:15 +00:00
Robert Gaggl
819624d1a2
changed getRenderedContentPart() so that format() is done at the end before returning the string. this should reenable the wiki-functionality (before a wiki-style tag was encoded and therefore not found by doWikiStuff-function) and solve the problem that a macro-tag like <%story (mind the missing space between % and "story") would be encoded too (see http://helma.org/bugs/show_bug.cgi?id=98 )
2002-07-14 15:10:56 +00:00
Hannes Wallnöfer
c8c6620025
Added height=1px to separator style def. For some reason Mozilla needs this.
2002-07-12 16:32:43 +00:00
Hannes Wallnöfer
1580400fbc
Use new story.getContentPart() function instead of story.title and story.text properties.
2002-07-12 16:13:36 +00:00
f3f623901f
modified setting of res.data.title according to new story extension capabilities
2002-07-12 12:39:49 +00:00
Hannes Wallnöfer
5a96582c5e
fixed getLasterror() to getLastError() in listReferrers_macro
2002-07-11 17:24:59 +00:00
977a56b289
renamed app property "description" to "_description" to indicate internal status
2002-07-11 15:31:57 +00:00
a8c08da165
fixed a bug that prevented a macro like <% story.content part="title" as="editor" height="15" %> from outputting the right height of the textarea.
2002-07-10 12:20:22 +00:00
Hannes Wallnöfer
a42faa8419
Fixed formatting/indentation.
...
Do toLowerCase() when checking if referrer comes from the
local weblog.
2002-07-08 14:01:13 +00:00
Hannes Wallnöfer
40a4f5e9f0
set site.lastupdate to story.modifytime instead of story.createtime when
...
creating stories, since the latter may be a future date.
2002-07-08 12:26:55 +00:00
1078c1b9a2
removed link to non-existing "signup" skin
2002-07-05 14:01:56 +00:00
Hannes Wallnöfer
1178df0c25
commented out baseURI by default
2002-07-02 15:13:17 +00:00
Hannes Wallnöfer
c8df8ac3de
merged xml_content branch.
2002-07-01 16:36:27 +00:00
Robert Gaggl
9405171536
changed now_macro() because prototype weblog is now called site
2002-06-26 18:31:10 +00:00
Robert Gaggl
4ba13b370a
replaced "goodie" with "file"
2002-06-26 17:44:31 +00:00
Robert Gaggl
ea50f21c96
- changed property goodiePath to filePath
...
- most of the properties are now stored as properties of root
2002-06-26 17:32:15 +00:00
Robert Gaggl
c882d3d7e6
changed because the prototype weblog was renamed to site
2002-06-26 17:29:39 +00:00
Robert Gaggl
ec576ebc31
initial check-in
2002-06-26 17:29:29 +00:00
Robert Gaggl
6770403ff6
replaced hardcoded "Antville" in page-title with call of root.getSysTitle()
2002-06-26 17:29:15 +00:00