From: hickert Date: Wed, 26 May 2010 11:19:00 +0000 (+0000) Subject: Updated setup. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cc041a7ccdd0a515e0a2085ab08fd8d9ed82bd78;p=gosa.git Updated setup. -Removed menu -Added pager -Added check button git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18748 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/setup/class_setup.inc b/gosa-core/setup/class_setup.inc index 36bf76209..54694846d 100644 --- a/gosa-core/setup/class_setup.inc +++ b/gosa-core/setup/class_setup.inc @@ -229,6 +229,8 @@ class setup }else{ $str .= ""; } + + $str .= ""; $str .= ""; $str .=""; } @@ -239,7 +241,23 @@ class setup /* Create header entry */ function get_header_html() { - $str= $this->o_steps[$this->i_current]->print_header(); + $title = $this->o_steps[$this->i_current]->getTitle(); + $image = $this->o_steps[$this->i_current]->getImage(); + $page = $this->i_current ." / ".count($this->o_steps); + + + $str = "
+
+ +
+
+ {$title} +
+
+ {$page} +
+
+
"; return ($str); } diff --git a/gosa-core/setup/class_setupStep.inc b/gosa-core/setup/class_setupStep.inc index 69977840f..8393efc9d 100644 --- a/gosa-core/setup/class_setupStep.inc +++ b/gosa-core/setup/class_setupStep.inc @@ -115,15 +115,16 @@ class setup_step extends plugin return($tmp); } - function print_header() + function getTitle() { - $image= get_template_path($this->header_image); - $display= "
"; - $display.= "

\"*\" ".$this->s_title_long."

\n"; - $display.= "
\n"; + return($this->s_title_long); + } - return($display); + function getImage() + { + return($this->header_image); } + } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: diff --git a/gosa-core/setup/setup_frame.tpl b/gosa-core/setup/setup_frame.tpl index 8d20ad7fc..11323af14 100644 --- a/gosa-core/setup/setup_frame.tpl +++ b/gosa-core/setup/setup_frame.tpl @@ -11,14 +11,14 @@
{$msg_dialogs} -
+ +
{$errors} {$header}