Commit graph

2187 commits

Author SHA1 Message Date
Hannes Wallnöfer
9371ce4704 Introduce defaultHost property for virtual server setup. 2003-04-11 12:48:44 +00:00
c403423c8a modified output of clicks_macro() to always output the current value plus "dowlooads" by default 2003-04-11 12:36:52 +00:00
Robert Gaggl
5a609434c5 requestcnt is set to 0 when creating a new file (instead of leaving null) 2003-04-11 10:16:36 +00:00
24a7f40cf9 fixed a bug in buildAliasFromFile() that prevented files beginning with a period from getting an alias 2003-04-11 09:35:50 +00:00
8b2f9b4f9f modified logo_macro to always return something, thus even <% logo %> w/o a name param renders an antville logo 2003-04-11 09:34:23 +00:00
161c0ed49d * improved clicks_macro() to display custom texts for each possible amount (0, 1, more)
* added return; at the end of functions where it was missing
2003-04-11 09:31:27 +00:00
7a8576a912 trimmed part variable if the story text is used as linked title in content_macro() 2003-04-10 15:26:57 +00:00
Robert Gaggl
6becf4b3bc modified content_macro(): display three dots if title should appear as link and both title and text are empty after stripping tags 2003-04-10 14:58:15 +00:00
53cd67a3df removed redundant <div> tag (already contained in site/page.skin) 2003-04-10 13:53:48 +00:00
9a09241698 changed link url output in <% logo %> macro to "http://antville.org" 2003-04-10 13:52:25 +00:00
1bf4c7a524 added encoding="xml" parameter in <% param.email %> 2003-04-10 10:43:47 +00:00
Robert Gaggl
fc64ce0a31 simplified evalNewStory(): use the second parameter onlinedefault if param.online is null 2003-04-07 21:01:37 +00:00
Robert Gaggl
bb9758c1b4 simplified evalStory(): use the second parameter onlinedefault if param.online is null 2003-04-07 21:01:28 +00:00
Robert Gaggl
0ef65de9de changed justintopic_macro() and addtofront_macro(): both now render a checkbox plus a hidden input ("onlinedefault") so that the editor "remembers" the users selection in case of a redirect back into editing form 2003-04-07 21:00:41 +00:00
Robert Gaggl
44c682473d - modified renderInputCheckbox: use value 1 only if no value was passed in parameter object
- fixed indentation
2003-04-07 20:59:10 +00:00
Hannes Wallnöfer
389359cbc5 imgWindow.focus() causes strange bug on mozilla where the image
is loaded in the main window. Since the image is newly created
anyway, calling focus() shouldn't be necessary anyhow.
2003-04-04 09:35:26 +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
a6e59d8879 improved output of items w/o title 2003-04-01 12:13:08 +00:00
Robert Gaggl
9a4c5e0f9e changed deleteStory(): only set lastupdate of site to new Date() if deleted story was online 2003-03-27 09:15:42 +00:00
af2f318cc7 remove page title and replaced <p /> with <br /> 2003-03-25 16:12:14 +00:00
be2107265c tweake with the "link" link and &nbsp; as macro prefix 2003-03-25 16:11:21 +00:00
ea63ce509a changed "react" to "comment" in commentlink_macro() 2003-03-25 16:07:19 +00:00
46cfd039f3 moved commentlink macro back in the skin 2003-03-25 16:06:30 +00:00
190e1457a5 added conditions in evalNewStory() to provide backwards compatibility between justintopic and addtofront macros 2003-03-25 15:59:53 +00:00
50aa0db455 added conditions in evalStory() to provide backwards compatibility between justintopic and addtofront macros 2003-03-25 15:59:28 +00:00
5f2cefe81b added conditions in justintopic_macro() and addtofront_macro() to provide backwards compatibility (ie. old skins using justintopic macro will continue to work) 2003-03-25 15:56:07 +00:00
31f954a4d5 replaced "display" with "show" 2003-03-25 15:54:09 +00:00
Robert Gaggl
49f0e28e82 changed sys_email_macro(): use the current users email as preselection if root.sys_email is empty 2003-03-23 22:36:37 +00:00
799a7faade changed "frontpage" to "front page" 2003-03-21 16:50:34 +00:00
279fb17764 wrapped &quot; around site title in welcome message 2003-03-21 16:48:58 +00:00
710cfce37e changed site title color to link color 2003-03-21 16:47:41 +00:00
84c7e5e01c added link to site title (href is site url) 2003-03-21 16:46:25 +00:00
21d4a28959 added trim() function also where content parts of comments are set 2003-03-21 16:45:39 +00:00
d863af23e0 added trim() function wherever content parts are set 2003-03-21 16:13:34 +00:00
5432cbe5b2 * modified story editor according to hannes' screenshot at http://help.antville.org/images/hns-editor
* added addtofront_macro() to display a checkbox that works vice versa to justintopic_macro()
* always set this.status in storymgr/create_action() to let the checkbox "know" whether it has to be checked
(known bugs: when editing a story neither this nor the "comments allowed" checkbox memorize their state when an error occurs.)
2003-03-20 18:53:55 +00:00
b23f6542db added some <br />s to decrease layout width (however, i think best would be to use a new table for each section.) 2003-03-20 17:23:02 +00:00
2bae74b1a3 changed case of E-mail to e-mail. it simply looks the best, imho. 2003-03-20 17:16:45 +00:00
2734800bf8 modified page titles according to general wording. however, the system section needs an overall retouch, imho 2003-03-19 13:56:43 +00:00
1ac5f28820 modified page title and contents to conform with the overall wording in antville as well as the xhtml 1.0 spec (validates except one already known error) 2003-03-19 13:44:58 +00:00
Robert Gaggl
03ca624456 removed debugging output 2003-03-18 10:03:49 +00:00
Robert Gaggl
366531fada rescueText() is now also called if the publish-button was pressed 2003-03-17 19:28:56 +00:00
Robert Gaggl
c83b0b4d48 added calls of rescueText() and restoreRescuedText() 2003-03-17 19:28:19 +00:00
Robert Gaggl
f664dc64d6 changed content_macro(): properties of req.data (if existing) now override the storys property values. this change was necessary because otherwise the rescue mechanism for stories/comments wouldn't work propertly (see http://project.antville.org/stories/318015/#318478) 2003-03-17 19:27:29 +00:00
Robert Gaggl
fc8583502c restructured evalStory(): now the submitted values are stored only after all checks have been passed. although the code is harder to read now it prevents changes to story-content being saved even if the user cancelled the editing process later on. together with the caching of story-contents this also might have lead to a difference between display and actual content. 2003-03-17 19:22:12 +00:00
61086d00e3 change "last" to "recently" and don't show the line if there are no weblogs at all 2003-03-17 16:49:19 +00:00
Hannes Wallnöfer
8d2e78643e Reworked basic inner story and comment skins.
Spacing should be better now.
Skins should be easier to understand and customize.
Used <div> tags wherever possibe instead of <span><br>
Checked for XHTML 1.0 Transitional validity.
2003-03-14 10:59:00 +00:00
f1187641df moved "...&nbsp;" and "<br />" as prefix and suffix param into root.link macros 2003-03-13 13:53:47 +00:00
381f29038d corrected "Public" to "Publicly accessible weblogs" 2003-03-13 13:52:49 +00:00