Change Icons

Changing Icons

The icons used in our modules are un-branded and generic.

If you wish to change the images, you can so easily using one of two methods.

 

Method 1: Replace icons while keeping name.

This is the simplest method of replacement as you only need to replace the icons under /images with your own icons of the same name.

 

 

Method 2: Replace icons with new names.

To replace the existing icons as well as change the icon names you need to:

1. Replace the icons under /images with your own icons.

2. Update index.cgi to include the new icon names:

Depending on the module used, the lines to change would be in the area of lines 29 to 60:

   

push(@links, "edit_manual.cgi");
push(@titles, $text{'manual_title'});
push(@icons, "images/edit-file.png");

push(@links, "edit_war.cgi");
push(@titles, $text{'wars_title'});
push(@icons, "images/war.png");

push(@links, "edit_libs.cgi");
push(@titles, $text{'libs_title'});
push(@icons, "images/jar.png");

push(@links, "edit_java.cgi");
push(@titles, $text{'java_title'});
push(@icons, "images/java.png");

push(@links, "edit_proxy.cgi");
push(@titles, $text{'proxy_title'});
push(@icons, "images/mapping.png");

push(@links, "edit_snapshots.cgi?mode=clone");
push(@titles, 'Clone');
push(@icons, "images/clone-database.png");

push(@links, "edit_snapshots.cgi?mode=create");
push(@titles, 'Snapshots');
push(@icons, "images/take-snapshot.png");

push(@links, "edit_snapshots.cgi?mode=restore");
push(@titles, 'Restore');
push(@icons, "images/restore-snapshot.png");

Up Next: Changing Text

Changing Module Text