|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
OK using the calendar and the eventspal I can now open a popup with the dates but how do I just use the current style sheet? now it either comes up white if I comment out the send_header or if I don't it comes with the whole header... tried adding another function called send_popup_header but there gotta be an easier way?
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Maybe something like this? <br /><?<br /> $userob = new user;<br /> $user = $userob -> authenticate("U_Stylesheet");<br /> $stylesheet = $user['U_Stylesheet'];<br /><br />if ((!$stylesheet) || ($stylesheet == "usedefault")) {<br /> $stylesheet = $theme['stylesheet'];<br />}<br /><br />echo <<<OUTPUT<br /><html><br /><head><br /><link rel="stylesheet" href="{$config['phpurl']}/stylesheets/$stylesheet" type="text/css" /><br /></head><br /><body><br />Blah Blah<br /><br /></body><br /></html><br />OUTPUT;<br />?><br />
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
cool thanx Josh I will try tomorrow
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
did it and yeah thanx that works.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|