Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
EDC:
Download extensions for Elxis CMS
.
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Templates
(Moderators:
Coursar
,
ks-net
) »
Elxis error ... xhtml invalid (star OFF / star ON) [SOLVED]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Elxis error ... xhtml invalid (star OFF / star ON) [SOLVED] (Read 8152 times)
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Elxis error ... xhtml invalid (star OFF / star ON) [SOLVED]
«
on:
November 02, 2008, 06:03:12 »
value of attribute "name" must be a single token.
…title="OFF" align="bottom" name="star OFF" border="0" /><img src="
http://elxi
....
This attribute can not take a space-separated list of words as a value, but only one word ("token"). This may also be caused by the use of a space for the value of an attribute which does not permit it.
in voting system of cource
as it says mast not be a space in star OFF
i think that there is no other problem if i modify mosvote.php line 29-31 and change star OFF star ON to star_OFF star_ON
«
Last Edit: November 02, 2008, 18:31:03 by ks-net
»
Logged
ks-net.gr
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Elxis error ... xhtml invalid
«
Reply #1 on:
November 02, 2008, 10:14:06 »
ks please write file and line number.
Is it on a third party bot (ajax vote)?
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: Elxis error ... xhtml invalid
«
Reply #2 on:
November 02, 2008, 12:31:50 »
I was reported this before John ,
File : \mambots\content\mosvote.php
$starImageOn = mosAdminMenus::ImageCheck( 'rating_star.png', '/images/M_images/', NULL, '/images/M_images/', 'ON', 'star ON', 1, 'bottom');
$starImageOff = mosAdminMenus::ImageCheck( 'rating_star_blank.png', '/images/M_images/', NULL, '/images/M_images/', 'OFF', 'star OFF', 1, 'bottom' );
To :
$starImageOn = mosAdminMenus::ImageCheck( 'rating_star.png', '/images/M_images/', NULL, '/images/M_images/', 'ON', 'starON', 1, 'bottom');
$starImageOff = mosAdminMenus::ImageCheck( 'rating_star_blank.png', '/images/M_images/', NULL, '/images/M_images/', 'OFF', 'starOFF', 1, 'bottom' );
Logged
DediData Web Hosting Services
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Elxis error ... xhtml invalid
«
Reply #3 on:
November 02, 2008, 13:41:08 »
Fixed! (Renamed to "staron" and "staroff")
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: Elxis error ... xhtml invalid
«
Reply #4 on:
November 02, 2008, 18:29:15 »
Quote
ks please write file and line number.
Is it on a third party bot (ajax vote)?
sorry... i was sleeping till 15.00
well i had wrote all details you asking in your post.
i am checking now this topic as [solved]
Logged
ks-net.gr
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: Elxis error ... xhtml invalid
«
Reply #5 on:
November 02, 2008, 18:34:36 »
You can edit the file : \mambots\content\mosvote.php
Find :
$starImageOn = mosAdminMenus::ImageCheck( 'rating_star.png', '/images/M_images/', NULL, '/images/M_images/', 'ON', 'star ON', 1, 'bottom');
Replace it with :
$starImageOn = mosAdminMenus::ImageCheck( 'rating_star.png', '/images/M_images/', NULL, '/images/M_images/', 'ON', 'staron', 1, 'bottom');
And find :
$starImageOff = mosAdminMenus::ImageCheck( 'rating_star_blank.png', '/images/M_images/', NULL, '/images/M_images/', 'OFF', 'star OFF', 1, 'bottom' );
Replace it with:
$starImageOff = mosAdminMenus::ImageCheck( 'rating_star_blank.png', '/images/M_images/', NULL, '/images/M_images/', 'OFF', 'staroff', 1, 'bottom' );
However it is fixed for next version
Logged
DediData Web Hosting Services
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: Elxis error ... xhtml invalid (star OFF / star ON) [SOLVED]
«
Reply #6 on:
November 02, 2008, 19:17:20 »
yes i did that last night... Star_Off etc. my choice
then fell for sleeping...
but today john remind me the ajax-vote
by the way.. can this bot published selectively ..
it is not necessarily to vote for example... privacy&policy page!
Logged
ks-net.gr
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Templates
(Moderators:
Coursar
,
ks-net
) »
Elxis error ... xhtml invalid (star OFF / star ON) [SOLVED]