Commit graph

1305 commits

Author SHA1 Message Date
f692940b3a now autotitles work also in (1+n)-th level comments 2002-07-26 13:32:22 +00:00
b9c9aec379 keeping the title property in updateComment() 2002-07-26 13:22:18 +00:00
824dde41f8 fixed a bug that prevented titles from being saved in content_macro() 2002-07-26 13:21:50 +00:00
208745a0ac added mountpoint for shortcuts 2002-07-26 12:56:14 +00:00
b817e8ae0a result of merge with helmaville 2002-07-26 12:55:35 +00:00
967351bd49 allowed shortcut and storylist macros in sandbox / function allowTextMacros() 2002-07-26 12:54:59 +00:00
e3c67a49f3 added clipping argument to renderTextPreview() and renderTextPreviewAsString() 2002-07-26 12:53:22 +00:00
0cb8eafa82 added shortcut_macro() and storylist_macro();
result of merge with helmaville
2002-07-26 12:47:41 +00:00
427abe44dd added first trial to output a title like "Re: title of previous posting" to a new posting 2002-07-26 12:44:25 +00:00
63958a9023 added clipping argument to renderTextPreview (result or merge with helmaville) 2002-07-26 12:39:31 +00:00
1bdafc20a0 moved createtime_macro() to macros.js in hopobject prototype 2002-07-26 12:38:44 +00:00
f790bfb689 result of merge with helmaville 2002-07-26 12:31:36 +00:00
5da85f4bd5 added commentary as documentation 2002-07-26 12:26:22 +00:00
Hannes Wallnöfer
1ef7de7efe Added skins to skin manager list for topic, topic manager, story manager and
search pages. Contributed by Arno@murmel-comics
2002-07-25 17:05:48 +00:00
Hannes Wallnöfer
04a323fbec added link to system setup page from sysmgr/page.skin 2002-07-25 15:11:31 +00:00
de8d5b56d1 page validates against xhtml 1.0 spec (macro output excluded, yet) 2002-07-24 14:52:49 +00:00
507092235d added style for form elements to avoid empty paragraphs around them 2002-07-24 14:43:07 +00:00
Robert Gaggl
d413bb8068 still fiddling with activateLinks(): now basically behaves like the original version (which means only freestanding urls are rendered as links), but still runs the regexp just once. 2002-07-22 15:36:45 +00:00
Robert Gaggl
a87e34abd7 changed activateLinks(): now just one run of the regexp is necessary to catch urls, and (hopefully) fixed the bug where a link surrounded by html-tags wouldn't be rendered. 2002-07-22 11:41:16 +00:00
Hannes Wallnöfer
66d673087a added as="image" option to content macro to interpret a content part
as image name and render the image.
2002-07-19 14:58:59 +00:00
9bb6f5d663 replaced <wbr> with xhtml conform <wbr /> tag in renderTextPreviewAsString() 2002-07-19 13:59:44 +00:00
Robert Gaggl
680134269c removed format() in renderTextPreview() because this occationally breaks the history-list 2002-07-19 13:04:19 +00:00
Robert Gaggl
c5af9cfe1e rewrote navigation-macro: now navigation-skins for contributors and admins can be positioned separately (user-navigation is directly embedded in page.skin) 2002-07-19 12:43:38 +00:00
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