YaWK  24.1
Yet another WebKit
blog-edit.php File Reference

Go to the source code of this file.

Variables

 $content
 
 $currentLayout = ''
 
 $dirprefix = YAWK\sys::getDirPrefix($db)
 
 $editorSettings = settings::getEditorSettings($db, 14)
 
 $header = "<i class=\"fa fa-file-text-o\"></i>&nbsp; $lang[SETTINGS] <small>$lang[TITLE] &amp; $lang[FILENAME]</small>"
 
 $host = YAWK\sys::getHost($db)
 
print $lang ['BACK']
 
print $lang ['COMMENTS']
 
print $lang ['END_PUBLISH']
 
foreach(YAWK\sys::getGroups($db, "pages") as $role) print $lang ['ENTRY']
 
print $lang ['LAYOUT']
 
print $lang ['ONLINE']
 
print $lang ['PAGE_VISIBLE']
 
print $lang ['SAVE_CHANGES']
 
print $lang ['START_PUBLISH']
 
 $lang ['TEXT']
 
print $lang ['THUMBNAIL']
 
print $lang ['TITLE']
 
print $lang ['YOUTUBEURL']
 
 $layoutOptions = ''
 
 $layouts
 
 $publishedHtml = "<option value=\"1\" >$lang[ONLINE]</option>"
 
print $blog blogid
 
print $blog blogtext
 
print $blog blogtitle
 
print $blog date_publish
 
print $blog date_unpublish
 
if($blog->published==1) else
 
 foreach (YAWK\sys::getMenus( $db) as $menue)
 
$blog icon = $blog->getBlogProperty($db, $blog->blogid, "icon")
 
 if ( $editorSettings[ 'editorAutoCodeview']==="true")
 
print $blog itemid
 
$blog layout = $blog->getBlogProperty($db, $blog->blogid, "layout")
 
print $blog meta_keywords
 
print $blog meta_local
 
$blog name = $blog->getBlogProperty($db, $blog->blogid, "name")
 
print & nbsp
 
print $blog pageid
 
print $blog teasertext
 
print $blog thumbnail
 
print $blog youtubeUrl
 

Variable Documentation

◆ $content

$content
Initial value:
= "<label for=\"filename\">$lang[FILENAME]</label><br>
<input type=\"text\"
class=\"form-control\"
name=\"filename\"
id=\"filename\"
size=\"64\"
maxlength=\"255\"
value=\"$blog->filename\">
<label for=\"subtitle\">$lang[SUBTITLE]</label><br>
<input type=\"text\"
class=\"form-control\"
name=\"subtitle\"
id=\"subtitle\"
size=\"64\"
maxlength=\"255\"
value=\"$blog->subtitle\">"

Definition at line 433 of file blog-edit.php.

◆ $currentLayout

$currentLayout = ''

Definition at line 654 of file blog-edit.php.

◆ $dirprefix

$dirprefix = YAWK\sys::getDirPrefix($db)

Definition at line 90 of file blog-edit.php.

◆ $editorSettings

$editorSettings = settings::getEditorSettings($db, 14)

Definition at line 136 of file blog-edit.php.

◆ $header

$header = "<i class=\"fa fa-file-text-o\"></i>&nbsp; $lang[SETTINGS] <small>$lang[TITLE] &amp; $lang[FILENAME]</small>"

Definition at line 432 of file blog-edit.php.

◆ $host

$host = YAWK\sys::getHost($db)

Definition at line 92 of file blog-edit.php.

◆ $lang [1/13]

print $lang[ 'BACK']

Definition at line 425 of file blog-edit.php.

◆ $lang [2/13]

print $lang[ 'COMMENTS']

Definition at line 680 of file blog-edit.php.

◆ $lang [3/13]

print $lang[ 'END_PUBLISH']

Definition at line 479 of file blog-edit.php.

◆ $lang [4/13]

foreach (YAWK\sys::getGroups( $db, "pages") as $role) print $lang[ 'ENTRY']

Definition at line 509 of file blog-edit.php.

◆ $lang [5/13]

print $lang[ 'LAYOUT']

Definition at line 651 of file blog-edit.php.

◆ $lang [6/13]

print $lang[ 'ONLINE']

Definition at line 509 of file blog-edit.php.

◆ $lang [7/13]

print $lang[ 'PAGE_VISIBLE']

Definition at line 489 of file blog-edit.php.

◆ $lang [8/13]

print $lang[ 'SAVE_CHANGES']

Definition at line 420 of file blog-edit.php.

◆ $lang [9/13]

print $lang[ 'START_PUBLISH']

Definition at line 469 of file blog-edit.php.

◆ $lang [10/13]

$lang[ 'TEXT']

Definition at line 687 of file blog-edit.php.

◆ $lang [11/13]

print $lang[ 'THUMBNAIL']

Definition at line 574 of file blog-edit.php.

◆ $lang [12/13]

print $lang[ 'TITLE']

Definition at line 381 of file blog-edit.php.

◆ $lang [13/13]

print $lang[ 'YOUTUBEURL']

Definition at line 584 of file blog-edit.php.

◆ $layoutOptions

$layoutOptions = ''

Definition at line 653 of file blog-edit.php.

◆ $layouts

$layouts
Initial value:
= array(
"-1" => "$lang[BLOG_SETTING]",
"0" => "$lang[BLOG_LAYOUT_1COL_TEXTBLOG]",
"1" => "$lang[BLOG_LAYOUT_2COL_TEASER_L]",
"2" => "$lang[BLOG_LAYOUT_2COL_TEASER_R]",
"3" => "$lang[BLOG_LAYOUT_3COL_NEWSPAPER]",
"4" => "$lang[BLOG_LAYOUT_1COL_YOUTUBE]")

Definition at line 655 of file blog-edit.php.

◆ $publishedHtml

$publishedHtml = "<option value=\"1\" >$lang[ONLINE]</option>"

Definition at line 515 of file blog-edit.php.

◆ blogid

print $blog blogid

◆ blogtext

print $blog blogtext

Definition at line 410 of file blog-edit.php.

◆ blogtitle

print $blog blogtitle

Definition at line 386 of file blog-edit.php.

◆ date_publish

print $blog date_publish

Definition at line 476 of file blog-edit.php.

◆ date_unpublish

print $blog date_unpublish

Definition at line 486 of file blog-edit.php.

◆ else

if ( $blog->teaser==='1') else
Initial value:
{
$publishedHtml = "<option value=\"0\" selected=\"selected\">$lang[OFFLINE]</option>"
$publishedHtml
Definition: blog-edit.php:515

Definition at line 513 of file blog-edit.php.

◆ foreach

foreach($layouts as $id=> $layout) ( YAWK\sys::getMenus($db) as  $menue)

Definition at line 618 of file blog-edit.php.

◆ icon

$blog icon = $blog->getBlogProperty($db, $blog->blogid, "icon")

Definition at line 368 of file blog-edit.php.

◆ if

if($blog->teaser !=="0") (   $editorSettings[ 'editorAutoCodeview'] = == "true")

Definition at line 221 of file blog-edit.php.

◆ itemid

print $blog itemid

Definition at line 376 of file blog-edit.php.

Referenced by ready().

◆ layout

$blog layout = $blog->getBlogProperty($db, $blog->blogid, "layout")

Definition at line 370 of file blog-edit.php.

◆ meta_keywords

print $blog meta_keywords

Definition at line 555 of file blog-edit.php.

◆ meta_local

print $blog meta_local

Definition at line 545 of file blog-edit.php.

◆ name

$blog name = $blog->getBlogProperty($db, $blog->blogid, "name")

Definition at line 369 of file blog-edit.php.

◆ nbsp

print $lang& ['TEASER'] nbsp

Definition at line 509 of file blog-edit.php.

◆ pageid

print $blog pageid

Definition at line 711 of file blog-edit.php.

◆ teasertext

print $blog teasertext

Definition at line 712 of file blog-edit.php.

◆ thumbnail

print $blog thumbnail

◆ youtubeUrl

print $blog youtubeUrl

Definition at line 594 of file blog-edit.php.