ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
class.ilFrameTargetInfo.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
10{
18 public static function _getFrame($a_class, $a_type = '')
19 {
20 switch($a_type)
21 {
22 default:
23 switch($a_class)
24 {
25 case 'RepositoryContent':
26 if($_SESSION['il_rep_mode'] == 'flat' or !isset($_SESSION['il_rep_mode']))
27 {
28 //return 'bottom';
29 return '_top';
30 }
31 else
32 {
33 return 'rep_content';
34 }
35
36 case 'MainContent':
37 //return 'bottom';
38 return '_top';
39
40 // frame for external content (e.g. web bookmarks, external links)
41 case 'ExternalContent':
42 return '_blank';
43 }
44 }
45
46 return '';
47 }
48}
static _getFrame($a_class, $a_type='')
Get content frame name.
< a tabindex="-1" style="border-style: none;" href="#" title="Refresh Image" onclick="document.getElementById('siimage').src = './securimage_show.php?sid=' + Math.random(); this.blur(); return false">< img src="./images/refresh.png" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0"/></a >< br/>< strong > Enter Code *if($_SERVER['REQUEST_METHOD']=='POST' &&@ $_POST['do']=='contact') $_SESSION['ctform']['success']