Procedural File: story.php
Source Location: /public_html/admin/story.php
Page Details:
This is the Geeklog story administration page.
Tags:
Includes:
liststories [line 113]
string liststories(
[string $current_topic = ''])
|
|
Provide list of stories
Tags:
Parameters
| string |
$current_topic |
(optional) currently selected topic |
storyeditor [line 245]
string storyeditor(
[string $sid = ''], [string $mode = ''], [string $errormsg = ''], [string $currenttopic = ''])
|
|
Shows story editor Displays the story entry form
Tags:
Parameters
| string |
$sid |
ID of story to edit |
| string |
$mode |
'preview', 'edit', 'editsubmission', 'clone' |
| string |
$errormsg |
a message to display on top of the page |
| string |
$currenttopic |
topic selection for drop-down menu |
submitstory [line 870]
void submitstory(
[string $type = ''], string $sid, int $uid, string $tid, string $title, string $page_title, string $introtext, string $bodytext, int $hits, string $unixdate, int $featured, string $commentcode, string $trackbackcode, string $statuscode, string $postmode, string $frontpage, int $draft_flag, int $numemails, int $owner_id, int $group_id, int $perm_owner, int $perm_group, int $perm_member, int $perm_anon, int $delete)
|
|
Saves story to database
Parameters
| string |
$type |
story submission or (new) story |
| string |
$sid |
ID of story to save |
| int |
$uid |
ID of user that wrote the story |
| string |
$tid |
Topic ID story belongs to |
| string |
$title |
Title of story |
| string |
$page_title |
Title of the page |
| string |
$introtext |
Introduction text |
| string |
$bodytext |
Text of body |
| int |
$hits |
Number of times story has been viewed |
| string |
$unixdate |
Date story was originally saved |
| int |
$featured |
Flag on whether or not this is a featured article |
| string |
$commentcode |
Indicates if comments are allowed to be made to article |
| string |
$trackbackcode |
Indicates if trackbacks are allowed to be made to article |
| string |
$statuscode |
Status of the story |
| string |
$postmode |
Is this HTML or plain text? |
| string |
$frontpage |
Flag indicates if story will appear on front page and topic or just topic |
| int |
$draft_flag |
Flag indicates if story is a draft or not |
| int |
$numemails |
Number of times this story has been emailed to someone |
| int |
$owner_id |
ID of owner (not necessarily the author) |
| int |
$group_id |
ID of group story belongs to |
| int |
$perm_owner |
Permissions the owner has on story |
| int |
$perm_group |
Permissions the group has on story |
| int |
$perm_member |
Permissions members have on story |
| int |
$perm_anon |
Permissions anonymous users have on story |
| int |
$delete |
String array of attached images to delete from article |
|
|