ich hätte mir gedacht dass das dann automatisch drin ist wenn man ein bild auswählt
welche dateien muss ich ändern und was muss ich alles ändern??Nee muss noch definiert werden
[ externes Bild ]
[ externes Bild ]
welche dateien muss ich ändern und was muss ich alles ändern??Nee muss noch definiert werden
Code: Alles auswählen
<!-- IF postrow.S_ONLINE --> online<!-- ENDIF -->
Code: Alles auswählen
<!-- IF postrow.S_ONLINE --> online<!-- ELSE --> offline<!-- ENDIF -->
Code: Alles auswählen
.online {background-image: url("{T_IMAGESET_LANG_PATH}/icon_user_online.gif");}
Code: Alles auswählen
.online {background-image: url("{T_IMAGESET_LANG_PATH}/icon_user_online.gif");}
.offline {background-image: url("{T_IMAGESET_LANG_PATH}/icon_user_offline.gif");}
Code: Alles auswählen
<!-- IF S_ONLINE --> online<!-- ENDIF -->
Code: Alles auswählen
<!-- IF S_ONLINE --> online<!-- ELSE --> offline<!-- ENDIF -->
Code: Alles auswählen
.online {
background-image: none;
background-position: 100% 0;
background-repeat: no-repeat;
}
Code: Alles auswählen
.online {
background-image: none;
background-position: 100% 0;
background-repeat: no-repeat;
}
.offline {
background-image: none;
background-position: 100% 0;
background-repeat: no-repeat;
}
Das kannst du ein wenig kürzen. Nämlichphpbb1 hat geschrieben:Code: Alles auswählen
.online { background-image: none; background-position: 100% 0; background-repeat: no-repeat; } .offline { background-image: none; background-position: 100% 0; background-repeat: no-repeat; }
Code: Alles auswählen
.online, .offline {
background-image: none;
background-position: 100% 0;
background-repeat: no-repeat;
}
Code: Alles auswählen
<div id="ppr{post_review_row.POST_ID}" class="post <!-- IF post_review_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF post_review_row.ONLINE_STATUS --> online<!-- ENDIF -->">
Code: Alles auswählen
<div id="post-{MESSAGE_ID}" class="post pm<!-- IF S_POST_UNAPPROVED or S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF S_ONLINE --> online<!-- ENDIF -->">
Code: Alles auswählen
<!-- IF postrow.ONLINE_IMG -->
<tr align="center">
<td>{postrow.ONLINE_IMG} online</td>
</tr>
<!-- ENDIF -->
Code: Alles auswählen
<!-- IF postrow.ONLINE_IMG -->
<tr align="center">
<td>{postrow.ONLINE_IMG} online</td>
</tr>
<!-- ENDIF -->
Code: Alles auswählen
<!-- IF postrow.S_ONLINE -->
<tr align="center">
<td><img src="{T_IMAGESET_LANG_PATH}/online.gif" /> online </td>
</tr>
<!-- ELSE -->
<tr align="center">
<td><img src="{T_IMAGESET_LANG_PATH}/offline.gif" /> offline </td>
</tr>
<!-- ENDIF -->