Commit d1c779f8 authored by Côme Bernigaud's avatar Côme Bernigaud
Browse files

Fixes #2919 Using icons from theme in setup

Conflicts:
	setup/class_setupStep_Checks.inc
	setup/class_setupStep_Finish.inc
	setup/class_setupStep_Language.inc
	setup/class_setupStep_Ldap.inc
	setup/class_setupStep_Migrate.inc
parent 43fb61a1
......@@ -28,7 +28,7 @@ class setupStep extends simplePlugin
var $is_enabled = FALSE;
var $is_completed = FALSE;
var $header_image = "images/setup/user.png";
var $header_image = "";
static function getAttributesInfo()
{
......
......@@ -21,7 +21,7 @@
class Step_Checks extends setupStep
{
var $header_image = 'geticon.php?context=categories&icon=checks&size=48';
var $header_image = 'geticon.php?context=categories&icon=checks&size=48';
static function getAttributesInfo()
{
......
......@@ -21,14 +21,13 @@
class Step_Finish extends setup_step
{
var $header_image = 'geticon.php?context=devices&icon=server&size=48';
var $header_image = 'geticon.php?context=devices&icon=server&size=48';
function __construct()
{
$this->update_strings();
}
function update_strings()
{
$this->s_title = _("Finish");
......@@ -36,7 +35,6 @@ class Step_Finish extends setup_step
$this->s_title_long = _("Finish - write the configuration file");
}
function get_conf_data()
{
$smarty = get_smarty();
......
......@@ -21,7 +21,7 @@
class Step_Language extends setupStep
{
var $header_image = 'geticon.php?context=applications&icon=config-language&size=48';
var $header_image = 'geticon.php?context=applications&icon=config-language&size=48';
static function getAttributesInfo()
{
......
......@@ -46,9 +46,9 @@ array_to_ldif - Create ldif output of an ldap result array
class Step_Migrate extends setup_step
{
var $header_image = "geticon.php?context=applications&icon=utilities-system-monitor&size=48";
var $languages = array();
var $attributes = array('valid_admin');
var $header_image = 'geticon.php?context=applications&icon=utilities-system-monitor&size=48';
var $checks = array();
/* Department migration attributes */
......
......@@ -33,11 +33,11 @@
<!-- Information popup -->
<div class='solution_visible' id='sol_{$key}'>
{if $val.MUST}
<div class='step2_failed_text' style="background-image: url('images/small_error.png')">
<div class='step2_failed_text' style="background-image: url('geticon.php?context=status&icon=dialog-error&size=16')">
{$val.SOLUTION}<br/>
<b>{t}FusionDirectory will NOT run without fixing this.{/t}</b>
{else}
<div class="step2_warning_text" style="background-image: url('images/small_warning.png')">
<div class="step2_warning_text" style="background-image: url('geticon.php?context=status&icon=dialog-warning&size=16')">
{$val.SOLUTION}<br/>
<b>{t}FusionDirectory will run without fixing this.{/t}</b>
{/if}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment