Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
gportal.php
1 <?php
2 Yii::app()->language = 'en';
3 Yii::app()->user->setState('language', 'en');
4 ?>
5 <!DOCTYPE html>
6 
7 <!--[if IE 7]> <html class="ie7 no-js" lang="en"> <![endif]-->
8 <!--[if lte IE 8]> <html class="ie8 no-js" lang="en"> <![endif]-->
9 <!--[if (gte IE 9)|!(IE)]><!--> <html class="not-ie no-js" lang="en"> <!--<![endif]-->
10 
11 <head>
12  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
13  <meta http-equiv="content-language" content="en" />
14 
15  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
16  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
17 
18  <title>Main Portal Template Gentics Portal.Node Demo</title>
19 
20  <meta name="description" content=" Main Portal Template" />
21  <meta name="author" content="Node Admin" />
22 
23  <!--[if !lte IE 6]><!-->
24  <?php if (isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS']!="on") { ?>
25  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,300,800,700,400italic|PT+Serif:400,400italic" />
26  <?php } else { ?>
27  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,600,300,800,700,400italic|PT+Serif:400,400italic" />
28  <?php } ?>
29 
30 
31  <link rel="stylesheet" href="/Content.Node/files/css/jquery-ui.1.8.17.css" media="screen" />
32  <link rel="stylesheet" href="/Content.Node/files/css/styles.v5.css" media="screen,print" />
33  <link rel="stylesheet" href="/Content.Node/files/css/fancybox.min.css" media="screen" />
34  <!-- not necessary if you do not use the components -->
35 
36 
37 
38  <link rel="stylesheet" href="/Content.Node/files/css/custom.portal.css" media="screen,print" />
39  <link rel="stylesheet" href="/Content.Node/files/css/print.css" media="print" />
40 
41  <!--<![endif]-->
42 
43  <!--[if lte IE 6]>
44  <link rel="stylesheet" href="/Content.Node/files/css/ie6.1.1.css" media="screen, projection">
45  <![endif]-->
46 
47 
48  <script src="/Content.Node/files/js/jquery-1.7.1.min.js"></script>
49 
50  <!-- HTML5 Shiv + detect touch events -->
51  <script src="/Content.Node/files/js/modernizr.custom.js"></script>
52  <link rel="stylesheet" href="/Content.Node/files/css/admin/core.css" media="screen" />
53  <link rel="stylesheet" href="/Content.Node/files/css/admin/default.css" media="screen" />
54  <link rel="stylesheet" href="/Content.Node/files/css/admin/dhtmlxtree.css" media="screen" />
55  <link rel="stylesheet" href="/Content.Node/files/css/admin/style.css" media="screen" />
56 
57 
58  <link rel="stylesheet" href="/Content.Node/files/css/admin/CSS_Admin.en.css" media="screen" />
59 
60 </head>
61 
62 <body>
63 
64 <!--noindexstart-->
65 <header id="header" class="container clearfix">
66 
67  <!--noindexstart-->
68  <!-- currently all portal modules are excluded from search indexing -->
69  <div class="metanav">
70 <span class="metanavlink">
71 <?php
72  if (Yii::app()->user->email == '') {
73  ?>
74  <a class="metanavlink" href="/Content.Node/service/Registration.en.html">Register</a> |
75  <a class="metanavlink" href="/Content.Node/service/Login.en.html">Login</a> |
76  <?php
77  } else {
78 
79 // frontend editing
80  if ( isset( $page ) && ( $page['template'] == '101' || $page['template'] == '103' || $page['template'] == '113' ) ) {
81  ?>
82  <a class="metanavlink" href="?edit=true">Edit</a> | <a class="metanavlink" href="?new=true">New</a> |
83  <?php
84  }
85 
86  echo Yii::app()->user->firstname . ' ' . Yii::app()->user->lastname . ' | ';
87  ?>
88  <a class="metanavlink" href="/Content.Node/service/UserProfileEditWidget.en.html">Edit Profile</a> |
89  <a class="metanavlink" href="/user/logout">Logout</a> |
90  <?php
91  }
92  ?>
93  <!--<a class="metanavlink" href="#">Change Language</a> | -->
94 <a class="metanavlink" href="/Content.Node/service/Search.en.html">Search</a> |
95 
96 <a class="metanavlink" href="">Change Language DE</a>
97 </span>
98  </div>
99  <!--noindexend-->
100 
101 
102  <a href="/" id="logo">
103  <img src="/Content.Node/img/gentics_logo.jpg" alt="Gentics" />
104  </a>
105 
106  <nav id="main-nav">
107 
108  <!--noindexstart-->
109  <!-- currently all portal modules are excluded from search indexing -->
110  <?php
111 
112  /**
113  $this->widget(
114  'navigation.widgets.NavigationWidget',
115  array('startfolderId'=>'10002.580',
116  'cssClass'=>'',
117  'maxLvl'=>1
118  )
119  );
120 
121  **/
122 
123  $this->widget(
124  'navigation.widgets.NavigationWidget',
125  array('startfolderId'=>'10002.580',
126  'maxLvl'=>4, //or any other number moer than 1
127  'isSitemap'=>true //important
128  )
129  );
130 
131  ?>
132  <!--noindexend-->
133 
134 
135  </nav><!-- end #main-nav -->
136 
137 </header><!-- end #header -->
138 
139 <section id="content" class="container clearfix">
140 
141  <header class="page-header">
142 
143  <h1 class="page-title"><!--noindexstart-->
144  <!-- currently all portal modules are excluded from search indexing -->
145  <?php
146 
147  echo CHtml::encode($this->pageTitle);
148 
149  ?>
150  <!--noindexend-->
151  <!--node page.name:editable--></h1>
152 
153  <!--node gportal_breadcrumb-->
154  <!--node gportal_admin_breadcrumb-->
155  <!--noindexstart-->
156  <!-- currently all portal modules are excluded from search indexing -->
157  <?php
158 
159  $this->widget('zii.widgets.CMenu', array(
160  'itemCssClass' => 'breadcrumb',
161  'items' => array(
162  array('url' => '/user/admin/', 'label' => Yii::app()->getModule('user')->t('Manage Users'), 'visible' => Yii::app()->user->checkAccess('Admin')),
163  array('url' => '/user/profileField/admin', 'label' => Yii::app()->getModule('user')->t('Manage Profile Fields'), 'visible' => Yii::app()->user->checkAccess('Admin')),
164  array('url' => '/user/admin/managePersonalisation/', 'label' => Yii::app()->getModule('user')->t('Personalisation Attributes'), 'visible' => Yii::app()->user->checkAccess('Admin')),
165  array('url' => '/user/assignment/view', 'label' => Yii::app()->getModule('user')->t('Assignments'), 'visible' => Yii::app()->user->checkAccess('Admin')),
166  array('url' => '/rights/assignment', 'label' => Yii::app()->getModule('user')->t('Rights'), 'visible' => Yii::app()->user->checkAccess('Admin')),
167  array('url' => '/settings/manage', 'label' => Yii::app()->getModule('user')->t('Settings'), 'visible' => Yii::app()->user->checkAccess('Admin')),
168  array('url' => '/bulk/bulk', 'label' => Yii::app()->getModule('user')->t('Bulk'), 'visible' => Yii::app()->user->checkAccess('Admin')),
169  ),
170  ));
171 
172  /**
173 
174  array('url' => Yii::app()->getModule('user')->loginUrl, 'label' => Yii::app()->getModule('user')->t("Login"), 'visible' => Yii::app()->user->isGuest),
175  array('url' => Yii::app()->getModule('user')->registrationUrl, 'label' => Yii::app()->getModule('user')->t("Register"), 'visible' => Yii::app()->user->isGuest),
176  array('url' => Yii::app()->getModule('user')->profileUrl, 'label' => Yii::app()->getModule('user')->t("Profile"), 'visible' => !Yii::app()->user->isGuest),
177  array('url' => Yii::app()->getModule('user')->logoutUrl, 'label' => Yii::app()->getModule('user')->t("Logout") . ' (' . Yii::app()->user->name . ')', 'visible' => !Yii::app()->user->isGuest),
178  **/
179 
180  ?>
181  <!--noindexend-->
182 
183 
184  </header><!-- end .page-header -->
185 
186 
187  <div>
188 
189  <!--noindexstart-->
190  <!-- currently all portal modules are excluded from search indexing -->
191  <?php
192 
193  echo $content;
194 
195  ?>
196  <!--noindexend-->
197 
198 
199  </div>
200 
201 </section><!-- end #content -->
202 
203 <footer id="footer" class="clearfix">
204  <div class="container">
205  <div class="three-fourth">
206  <nav id="footer-nav" class="clearfix">
207  <ul>
208  <li><a href="http://www.gentics.com" target="_blank">Gentics Software GmbH</a></li>
209  </ul>
210  <!--node gportal_sitemap-->
211  </nav><!-- end #footer-nav -->
212 
213  <ul class="contact-info">
214  <li class="address"><a href="https://maps.google.com/maps?q=gentics&hl=en&ll=48.214965,16.370659&spn=0.007978,0.01929&sll=37.0625,-95.677068&sspn=38.775203,79.013672&hq=gentics&radius=15000&t=m&z=16" target="_blank">Gonzagagasse 11/25, A-1010 Vienna/Austria</a></li>
215  <li class="phone"><a href="call:+43171099040">+43171099040</a></li>
216  <li class="email"><a href="mailto:demo@gentics.com">demo@gentics.com</a></li>
217  </ul><!-- end .contact-info -->
218 
219  </div><!-- end .three-fourth -->
220  <div class="one-fourth last">
221  <span class="title">STAY CONNECTED</span>
222  <ul class="social-links">
223  <li class="twitter"><a href="http://twitter.com/gentics" target="_blank">Twitter</a></li>
224  <li class="facebook"><a href="http://facebook.com/gentics.cms" target="_blank">Facebook</a></li>
225  <li class="digg"><a href="http://digg.com/search?submit=&q=%22gentics%22+cms" target="_blank">Digg</a></li>
226  <li class="vimeo"><a href="http://vimeo.com/user1446715" target="_blank">Vimeo</a></li>
227  <li class="youtube"><a href="http://www.youtube.com/user/genticsvideos" target="_blank">YouTube</a></li>
228  <li class="skype"><a href="call://cqeb--">Skype</a></li>
229  </ul><!-- end .social-links -->
230 
231  </div><!-- end .one-fourth.last -->
232  </div><!-- end .container -->
233 </footer><!-- end #footer -->
234 
235 <footer id="footer-bottom" class="clearfix">
236  <div class="container">
237  <ul>
238  <li>&copy; by Gentics Software GmbH</li>
239  </ul>
240  </div><!-- end .container -->
241 </footer><!-- end #footer-bottom -->
242 
243 <script src="/Content.Node/files/js/jquery-ui-1.8.23.custom.min.js"></script>
244 <script src="/Content.Node/files/js/jquery-ui-i18n.min.js"></script>
245 
246 <!--[if lt IE 9]> <script src="/Content.Node/files/js/selectivizr-and-extra-selectors.min.js"></script> <![endif]-->
247 
248 <script src="/Content.Node/files/js/respond.min.js"></script>
249 <script src="/Content.Node/files/js/jquery.easing-1.3.min.js"></script>
250 <script src="/Content.Node/files/js/jquery.fancybox.pack.js"></script>
251 <script src="/Content.Node/files/js/jquery.jcarousel.min.js"></script>
252 <script src="/Content.Node/files/js/jquery.cycle.all.min.js"></script>
253 <script src="/Content.Node/files/js/jquery.touchSwipe.min.js"></script>
254 <script src="/Content.Node/files/js/jquery.json.js"></script>
255 <script src="/Content.Node/files/js/jquery.yiiactiveform.js"></script>
256 <script src="/Content.Node/files/js/custom.js"></script>
257 <script src="/Content.Node/files/js/custom.portal.js"></script>
258 
259 
260 
261 
262 
263 
264 <!--<![endif]-->
265 
266 <script type="text/javascript">
267 
268  var _gaq = _gaq || [];
269  _gaq.push(['_setAccount', 'UA-32880019-1']);
270  _gaq.push(['_setDomainName', '<?php echo $_SERVER['HTTP_HOST']; ?>']);
271  _gaq.push(['_trackPageview']);
272 
273  (function() {
274  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
275  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
276  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
277  })();
278 
279 </script>
280 
281 
282 <!--noindexend-->
283 <script src="/Content.Node/files/js/admin/dhtmlTreeEditor.js"></script>
284 <script src="/Content.Node/files/js/admin/dhtmlTreeUserAssignment.js"></script>
285 <script src="/Content.Node/files/js/admin/dhtmlxcommon.js"></script>
286 <script src="/Content.Node/files/js/admin/dhtmlxtree.js"></script>
287 <script src="/Content.Node/files/js/admin/dhtmlxtree_json.js"></script>
288 <script src="/Content.Node/files/js/admin/dhtmlxtree_xw.js"></script>
289 <script src="/Content.Node/files/js/admin/jquery.ba-bbq.min.js"></script>
290 <script src="/Content.Node/files/js/admin/jquery.yii.js"></script>
291 <script src="/Content.Node/files/js/admin/jquery.yiigridview.js"></script>
292 <script src="/Content.Node/files/js/admin/rights.js"></script>
293 
294 
295 
296 </body>