Location: PHPKode > scripts > GigKalender > admin/includes/setup/SetupBackendCalendarGigTypes.php
<?php
/*
    CREATIVE COMMONS - Attribution-No Derivative Works 3.0 Germany:
    - You may not alter, transform, or build upon this work.
    - Dieses Werk darf nicht bearbeitet oder in anderer Weise verändert werden.
*/
$SetupBackendCalendarGigTypesArray = explode(", ", getSetup('SetupBackendCalendarGigTypes'));
$String='';
$amountSetupBackendCalendarGigTypesArray = count($SetupBackendCalendarGigTypesArray);
for ($i=0; $i<$amountSetupBackendCalendarGigTypesArray; $i=$i+2)
{
  $Color = $SetupBackendCalendarGigTypesArray[$i+1];
  $String .= '<span style="background-color:#'.$Color.'">';
  $String .= $SetupBackendCalendarGigTypesArray[$i].'</span><br />';
}
echo '<tr>
        <td>xxx:</td>
        <td>
          <div style="display:inline;float:left;width=10em">'.$String.'</div>
          <input type="button" value="'.$L_Editor.'" onclick="self.location.href=\'index.php?submenu=admin&amp;page=editGigTypes&amp;Selector=backend&amp;referer=setup_backend&amp;job=0&amp;id=0&amp;timestamp=\'" class="SmallButton" />
        </td>
      </tr>';
?>
Return current item: GigKalender