Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   Error msg (http://www.bvlist.com/showthread.php?t=10669)

joeroberts 5th January 2016 03:38

Code:

stderr("", "");

kOni 5th January 2016 15:27

Quote:

Originally Posted by joeroberts (Post 48165)
Code:

stderr("", "");




Thanks for the reply joeroberts, but if is possible...


http://i.imgur.com/7rMPPbP.jpg

Chez 5th January 2016 16:22

Koni, you'll need to learn some CSS

DND 5th January 2016 16:23

align=center ?
cellpadding
cellspacing ?
this is so pointless
:coffee:

joeroberts 5th January 2016 17:06

Quote:

Originally Posted by kOni (Post 48166)
Thanks for the reply joeroberts, but if is possible...


http://i.imgur.com/7rMPPbP.jpg

you well need to edit both the image and the .css file for that.

kOni 5th January 2016 22:41

Quote:

Originally Posted by DND (Post 48168)
align=center ?
cellpadding
cellspacing ?
this is so pointless
:coffee:



You such ΜΑΛΑΚΑΣ

DND 5th January 2016 23:56

you are a wanker motherfucker..
didn't you thought i speak greek, right ? stupid A-HOLE !
please ban him.

kOni 6th January 2016 01:31

Quote:

Originally Posted by DND (Post 48173)
you are a wanker motherfucker..
didn't you thought i speak greek, right ? stupid A-HOLE !
please ban him.

ban my ass ΓΑΜΗΜΕΝΕ from the start you are fooling. ΓΑΜΩ ΤΟΝ ΚΩΛΟ ΣΟΥ ΣΕ ΓΑΜΑΩ ΠΑΛΙΟΠΟΥΣΤΑ.

DND 6th January 2016 03:26

go and read a book. you dont even know proper english

fireknight 6th January 2016 06:18

Even altering the css, won't help much to be honest.
I think kOni you are using 08 source code.

Lets take a look at the functions.

Code:

function stderr($heading, $text)
{
  stdhead();
  stdmsg($heading, $text);
  stdfoot();
  die;
}

The standard error is calling on the standard message function

Code:

function stdmsg($heading, $text)
{
  print("
\n");
  if ($heading)
    print("

$heading

\n");
  print("
\n");
  print($text . "
\n");
}

The table surrounding the $text ( or in this case an image ).
Has been hard coded to include a border of 1px.
So no matter what you change in the css, the hard coding will over rule the css.

You would be better of creating 2 new functions to cater for image error messages.
Then alter the setting to go with the images.

Example
Code:

function std_img_err($heading, $text)
{
  stdhead();
  std_img_msg($heading, $text);
  stdfoot();
  die;
}

function std_img_msg($heading, $text)
{
  print("
\n");
  if ($heading)
    print("

$heading

\n");
  print("
\n");
  print($text . "
\n");
}

Then where you want to use the images for stderr("", "");

You would use something like this instead std_img_err("", "");

I hope this will be of some help to you.

There are other ways of doing it, you could create new classes of tables and td.
Then create new css styles to go with the new classes.


All times are GMT +2. The time now is 14:45.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.