<style>
.gallery {
background: <?php echo $ag_styl_gallerybg; ?>;
color: <?php echo $ag_styl_galleryfg; ?>;
}
.galleryhead {
font-family: <?php echo $ag_styl_galleryheadfont; ?>;
font-size: <?php echo $ag_styl_galleryheadfontsize . 'pt'; ?>;
line-height: <?php echo ($ag_styl_galleryheadfontsize + 4) . 'px'; ?>;
font-weight: <?php echo $ag_styl_galleryheadfontweight; ?>;
text-align: <?php echo $ag_styl_galleryheadfontalign; ?>;
background-color: <?php echo $ag_styl_galleryheadbg; ?>;
color: <?php echo $ag_styl_galleryheadfg; ?>;
}
.gallerypath {
background-color : <?php echo $ag_styl_gallerypathbg; ?>;
color: <?php echo $ag_styl_gallerypathfg; ?>;
}
.gallerysectiontableheader {
font-size: 11px;
font-weight: normal;
text-align: center;
background: <?php echo $ag_styl_gallerysecheaderbg; ?>;
color: <?php echo $ag_styl_gallerysecheaderfg; ?>;
padding: 4px;
}
.gallerysectiontableentry {
background-color : <?php echo $ag_styl_gallerysecentrybg; ?>;
color: <?php echo $ag_styl_gallerysecentryfg; ?>;
}
.gallerysectiontableentry1 {
background-color : <?php echo $ag_styl_gallerysecentryonebg; ?>;
color: <?php echo $ag_styl_gallerysecentryonefg; ?>;
}
.gallerysectiontableentry2 {
background-color : <?php echo $ag_styl_gallerysecentrytwobg; ?>;
color: <?php echo $ag_styl_gallerysecentrytwofg; ?>;
}
.smallgm {
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size: 7pt;
color: <?php echo $ag_styl_rmcolor; ?>;
}
.smallgsm {
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size: 7pt;
color: <?php echo $ag_styl_smcolor; ?>;
}
.myborder {
border-width: <?php echo $ag_styl_borderwidth . 'px'; ?>;
border-style: <?php echo $ag_styl_borderstyle; ?>;
border-color: <?php echo $ag_styl_bordercolor; ?>;
padding: <?php echo $ag_styl_borderpadding . 'px'; ?>;
margin-right: 0px;
margin-left: 0px;
margin-bottom: 4px;
}
.noborder {
border-style: none;
}
a.gallerypathway,
a.gallerypathway:link {
color: <?php echo $ag_styl_gallerypathwaylink; ?>;
}
a.gallerypathway:hover {
color: <?php echo $ag_styl_gallerypathwaylinkhover; ?>;
}
/* Nameshield Styles */
<?php
if ($ag_nameshields) {
?>
.nameshield {
height:<?php echo $ag_styl_nameshields_height . 'px'; ?>;
font-family: <?php echo $ag_styl_nameshields_font; ?>;
font-size:<?php echo $ag_styl_nameshields_fontsize . 'px'; ?>;
color: <?php echo $ag_styl_nameshields_fontcolor; ?>;
line-height:<?php echo $ag_styl_nameshields_height . 'px'; ?>;
background-color: <?php echo $ag_styl_nameshields_bgcolor; ?>;
border:1px solid <?php echo $ag_styl_nameshields_bordercolor; ?>;
filter:alpha(opacity=<?php echo $ag_styl_nameshields_transparency; ?>);
-moz-opacity: 0.<?php echo $ag_styl_nameshields_transparency; ?>;
opacity: 0.<?php echo $ag_styl_nameshields_transparency; ?>;
padding-left: 2px;
padding-right: 2px;
}
<?php
}
?>
/* MotionGallery Styles */
#motioncontainer {
margin:0 auto; /*Uncomment this line if you wish to center the gallery on page
*/
width: <?php echo $ag_motionminiWidth . 'px'; ?>;/* Set to gallery width, in px
or percentage */
height: <?php echo $ag_motionminiHeight . 'px'; ?>;/* Set to gallery height */
}
#motioncontainer a img {
border: 1px solid #cccccc; /* Set image border color */
}
#motioncontainer a:hover img {
border: 1px solid navy; /* Set image border hover color */
}
#statusdiv {
background-color: lightyellow;
border: 1px solid gray;
padding: 2px;
position: absolute; /* Stop Editing Gallery Styles */
left: -300px;
visibility: hidden;
}
#motioncontainer a:hover {
color: red; /* Dummy definition to overcome IE bug */
}
/* End MotionGallery Styles */
</style>
<?php
/** portierung **/
# Globalisieren der Variablen, die in den folgenden
# beiden if-Anweisungen definiert werden
global $myborder, $gallery, $gallerypath, $sectiontableheader,
$sectiontableentry, $sectiontableentry1, $sectiontableentry2;
/* */
if ( $ag_ownborder ) {
$myborder = "myborder";
}else {
$myborder = "noborder";
}
if ( $ag_ownstyle ) {
$gallery = "gallery";
$gallerypath = "gallerypath";
$sectiontableheader = "gallerysectiontableheader";
$sectiontableentry = "gallerysectiontableentry";
$sectiontableentry1 = "gallerysectiontableentry1";
$sectiontableentry2 = "gallerysectiontableentry2";
} else {
$gallery = "sectiontableentry2";
$gallerypath = "sectiontableheader";
$sectiontableheader = "sectiontableheader";
$sectiontableentry = "sectiontableentry";
$sectiontableentry1 = "sectiontableentry1";
$sectiontableentry2 = "sectiontableentry2";
}
?>