File tree Expand file tree Collapse file tree 2 files changed +26
-17
lines changed
themes/default/css/screen Expand file tree Collapse file tree 2 files changed +26
-17
lines changed Original file line number Diff line number Diff line change 7979//
8080//$app->tpl->setloop('warning', $warning);
8181//
82- ///*
83- // * If there is any information to display, do it...
84- //*/
85- //$info = array();
86- //
87- //$info[] = array('info_msg' => 'IClaus1');
88- //$info[] = array('info_msg' => 'IClaus2');
89- //$info[] = array('info_msg' => 'IClaus3');
90- //$info[] = array('info_msg' => 'IClaus4');
91- //
92- //$app->tpl->setloop('info', $info);
82+
83+
84+ /*
85+ * If there is any information to display, do it...
86+ */
87+ $ info = array ();
88+
89+ /*
90+ * Check the ISPConfig-Version
91+ */
92+ $ new_version = @file_get_contents ('http://www.ispconfig.org/downloads/ispconfig3_version.txt ' );
93+ $ new_version = trim ($ new_version );
94+ if ($ new_version != ISPC_APP_VERSION ) {
95+ $ info [] = array ('info_msg ' => 'There is a new Version of ISPConfig 3 available! <a href="http://www.ispconfig.org">See more...</a> ' );
96+ }
97+
98+ $ app ->tpl ->setloop ('info ' , $ info );
9399
94100/*
95101 * Show all modules, the user is allowed to use
Original file line number Diff line number Diff line change 234234 .dashboard-modules {
235235 float : left;
236236 width : 100px ;
237- height : 20 px ;
237+ height : 100 px ;
238238 border : 1px dotted # 888888 ;
239239 background-color : # cccccc ;
240240 margin : 10px ;
241- padding : 10px ;
242241 background-position : center 5px ;
243242 background-repeat : no-repeat;
244- padding-top : 70px ;
245243 text-align : center;
246244 }
247245
248- .dashboard-modules a {
249- color : Black;
250- font-weight : bold;
246+ .dashboard-modules a , .dashboard-modules a : hover {
247+ color : Black;
248+ display : block;
249+ font-weight : bold;
250+ height : 30px ;
251+ padding-top : 70px ;
252+ width : 100px ;
253+ text-decoration : none;
251254 }
252255
253256 .dashboard-modules .admin { background-image : url ('../../icons/x64/system.png' ) !important ; }
You can’t perform that action at this time.
0 commit comments