initial check-in

This commit is contained in:
Robert Gaggl 2001-12-16 18:06:13 +00:00
parent e48553b80e
commit 41a86bd5d5
3 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,2 @@
use antville;
update STORY set ISONLINE = 2 where ISONLINE = 1;

View file

@ -0,0 +1,11 @@
/**
* function checks if story is published in weblog
* @param Obj story to check
* @return Boolean true if online, false if not
*/
function isStoryOnline(st) {
if (parseInt(st.online,10) == 2)
return true;
return false;
}

View file

@ -0,0 +1,12 @@
/**
* function checks if story is published in topic
* overwrites isStoryOnline-function of day
* @param Obj story to check
* @return Boolean true if online, false if not
*/
function isStoryOnline(st) {
if (parseInt(st.online,10) > 0)
return true;
return false;
}