Stud.IP  3.2 Revision
admin_lit_element.php File Reference

Variables

if(Request::option('cmd')=="new_entry") else
 
 $_attributes = array()
 
 $_attributes ['text'] = array('style' => 'width:98%')
 
 $_attributes ['textarea'] = array('style' => 'width:98%','rows'=>2)
 
 $_attributes ['select'] = array()
 
 $_attributes ['date'] = array()
 
 $_attributes ['combo'] = array('style' => 'width:45%')
 
 $_attributes ['lit_select'] = array('style' => 'font-size:8pt;width:98%')
 
if($_catalog_id{0}=="_") if(Request::option('cmd')=='clone_entry') if(!is_object($_the_element)) $_the_form = $_the_element->getFormObject()
 
 $_the_clipboard = StudipLitClipBoard::GetInstance()
 
 $_the_clip_form = $_the_clipboard->getFormObject()
 
if(isset($old_cat_id) && $_the_clipboard->isInClipboard($old_cat_id)) $_the_clip_form form_fields ['clip_cmd']['options'][] = array('name' => _("In Merkliste eintragen"), 'value' => 'ins')
 
$_the_clip_form form_fields ['clip_cmd']['options'][] = array('name' => _("Markierten Eintrag bearbeiten"), 'value' => 'edit')
 
if($_the_form->IsClicked("reset")||Request::option('cmd')=="new_entry") if($_the_form->IsClicked("delete") && $_catalog_id !="new_entry" && $_the_element->isChangeable()) if(Request::option('cmd')=="delete_element" && $_the_element->isChangeable() &&! $_the_element->reference_count) if(Request::option('cmd')=="in_clipboard" && $_catalog_id !="new_entry") if(Request::option('cmd')=="check_entry") if($_the_form->IsClicked("send")) if($_the_clip_form->isClicked("clip_ok")) $_catalog_id = $_the_element->getValue("catalog_id")
 
 $_msg = $_the_element->msg
 
 $class_changer = new CssClassSwitcher()
 
 if ( $_the_element->isChangeable())
 
if($_the_element->isChangeable()) elseif ( $_catalog_id !="new_entry")
 
 $infobox [0]
 
if($_the_element->isNewEntry()) if(! $_the_element->isChangeable()) $infobox [1] = array ("kategorie" => _("Aktionen:"))
 
 $infobox [1]["eintrag"][] = array("icon" => "icons/16/black/literature.png","text" => "<a href=\"admin_lit_list.php\">" . _("Literaturlisten bearbeiten") . "</a>" )
 

Variable Documentation

◆ $_attributes [1/7]

$_attributes = array()

◆ $_attributes [2/7]

$_attributes[ 'text'] = array('style' => 'width:98%')

◆ $_attributes [3/7]

$_attributes[ 'textarea'] = array('style' => 'width:98%','rows'=>2)

◆ $_attributes [4/7]

$_attributes[ 'select'] = array()

◆ $_attributes [5/7]

$_attributes[ 'date'] = array()

◆ $_attributes [6/7]

$_attributes[ 'combo'] = array('style' => 'width:45%')

◆ $_attributes [7/7]

$_attributes[ 'lit_select'] = array('style' => 'font-size:8pt;width:98%')

◆ $_catalog_id

if ( $_the_form->IsClicked("reset")||Request::option( 'cmd')=="new_entry") if ( $_the_form->IsClicked("delete") &&$_catalog_id !="new_entry" &&$_the_element->isChangeable()) if (Request::option( 'cmd')=="delete_element" &&$_the_element->isChangeable() &&! $_the_element->reference_count) if (Request::option( 'cmd')=="in_clipboard" &&$_catalog_id !="new_entry") if (Request::option( 'cmd')=="check_entry") if ( $_the_form->IsClicked("send")) if ( $_the_clip_form->isClicked("clip_ok")) $_catalog_id = $_the_element->getValue("catalog_id")

◆ $_msg

$_msg = $_the_element->msg

◆ $_the_clip_form

$_the_clip_form = $_the_clipboard->getFormObject()

◆ $_the_clipboard

$_the_clipboard = StudipLitClipBoard::GetInstance()

◆ $_the_form

if ( $_catalog_id{0}=="_") if (Request::option( 'cmd')=='clone_entry') if (!is_object( $_the_element)) $_the_form = $_the_element->getFormObject()

◆ $class_changer

$class_changer = new CssClassSwitcher()

◆ $infobox [1/3]

$infobox[0]
Initial value:
= array ("kategorie" => _("Information:"),
"eintrag" => array(
array("icon" => "icons/16/black/literature.png","text" => _("Hier können Sie Literatur / Quellen erfassen, oder von Ihnen erfasste Einträge ändern.")),
array("icon" => "blank.gif","text" => ($_the_element->getValue("user_id") == "studip" ? "<b>" . _("Systemeintrag:") . "</b><br>" . _("Dies ist ein vom System generierter Eintrag.") : "<b>" . _("Eingetragen von:") . "</b><br>" . get_fullname($_the_element->getValue("user_id"),'full',true))),
array("icon" => "blank.gif","text" => "<b>" . _("Letzte Änderung am:") . "</b><br>" . strftime("%d.%m.%Y",$_the_element->getValue("chdate")))
)
)

◆ $infobox [2/3]

if ( $_the_element->isNewEntry()) if (! $_the_element->isChangeable()) $infobox[1] = array ("kategorie" => _("Aktionen:"))

◆ $infobox [3/3]

$infobox[1]["eintrag"][] = array("icon" => "icons/16/black/literature.png","text" => "<a href=\"admin_lit_list.php\">" . _("Literaturlisten bearbeiten") . "</a>" )

◆ else

if ( $_msg) else
Initial value:
{
$_catalog_id = Request::option('_catalog_id', "new_entry")
static option($param, $default=NULL)
Definition: Request.class.php:194
if($_the_form->IsClicked("reset")||Request::option('cmd')=="new_entry") if($_the_form->IsClicked("delete") && $_catalog_id !="new_entry" && $_the_element->isChangeable()) if(Request::option('cmd')=="delete_element" && $_the_element->isChangeable() &&! $_the_element->reference_count) if(Request::option('cmd')=="in_clipboard" && $_catalog_id !="new_entry") if(Request::option('cmd')=="check_entry") if($_the_form->IsClicked("send")) if($_the_clip_form->isClicked("clip_ok")) $_catalog_id
Definition: admin_lit_element.php:183

◆ elseif

if ( $_the_element->isChangeable()) elseif($_catalog_id !="new_entry")

◆ form_fields [1/2]

if (isset( $old_cat_id) &&$_the_clipboard->isInClipboard( $old_cat_id)) $_the_clip_form form_fields[ 'clip_cmd'][ 'options'][] = array('name' => _("In Merkliste eintragen"), 'value' => 'ins')

◆ form_fields [2/2]

$_the_clip_form form_fields[ 'clip_cmd'][ 'options'][] = array('name' => _("Markierten Eintrag bearbeiten"), 'value' => 'edit')

◆ if

if ( $_catalog_id !="new_entry") if($_catalog_id !="new_entry" &&! $_the_clipboard->isInClipboard($_catalog_id))