ONO::ToolBox::BlogEdit

Functions

delete();

Delete a blog message.

ONO::ToolBox::BlogEdit->delete( $db, $community, $author, $vars_ref, $sql_ref, $switches, $setup_ref );

dir_links_fliprot();

Allow to flip or rotate an image.

ONO::ToolBox::BlogEdit->dir_links_fliprot( $subID, $BLK_ref );

dir_links_icon();

Generate a file icon.

ONO::ToolBox::BlogEdit->dir_links_icon( $community, $subID, $dir, $file, $sql_ref );

editor();

The ONO blog editor.

Available switches:

-A alt table mode (if $setup{'alt_sql_table'} defined)
-N news post mode, will save title and text to the microblog robot queue
-p custom abs position (use $setup{'alt_pos_x'},$setup{'alt_pos_y'}, $setup{'alt_width'} is optional)
-w website mode

ONO::ToolBox::BlogEdit->editor( $db, $community, $author, $path, $lang, $script_url, $unused, $timestamp, $BLK_ref, $vars_ref, $sql_ref, $switches, $setup_ref );
returns: $MAIN

media_targets();

Detect possible targets for media uploads.

overrun = 1 is used by the pipeline module overrun = 2 is used by the blog preferences

ONO::ToolBox::BlogEdit->media_targets( $db, $community, $class, $vars_ref, $overrun );
returns: reverse sort @opts

post();

Post a new blog message.

ONO::ToolBox::BlogEdit->post( $db, $community, $author, $vars_ref, $sql_ref, $switches, $setup_ref );

Sub-Modules

none

Dependencies