diff --git a/trunk/config/backend.xml b/trunk/config/backend.xml index 21848b8..e73ec0e 100644 --- a/trunk/config/backend.xml +++ b/trunk/config/backend.xml @@ -2,29 +2,34 @@ + mysql + localhost + yolanda yolanda - en-us - xhtml.xsl - http://localhost/ + + http://localhost/ + + /var/www/yolanda/ + + + en-us + xhtml.xsl + 10 + 3 + 20 + true + + sid + + + 720 + 240 + 1080 + 320 + 204800 + 512 + 64 - - - 10 - 3 - 20 - 720 - 240 - 1080 - 320 - 204800 - 512 - - - - true - true - - diff --git a/trunk/functions.pl b/trunk/functions.pl index 5c29dc9..c51e839 100644 --- a/trunk/functions.pl +++ b/trunk/functions.pl @@ -42,7 +42,6 @@ sub get_page_array } $page->{'username'} = $userinfo->{'username'}; - $page->{'stylesheet'} = $stylesheet; $page->{'xmlns:dc'} = $xmlns_dc; $page->{'xmlns:cc'} = $xmlns_cc; $page->{'xmlns:rdf'} = $xmlns_rdf; diff --git a/trunk/include.pl b/trunk/include.pl index 963e9ec..c2c992d 100644 --- a/trunk/include.pl +++ b/trunk/include.pl @@ -25,9 +25,7 @@ $dbpass = ''; $domain = 'http://localhost'; $session_name = 'sid'; $locale = "en-US"; -# remove stylesheet attribute, this is an XSLT job -$stylesheet = "/style/default.css"; -# WHAT THE FUCK + $xmlns_dc = "http://purl.org/dc/elements/1.1/"; $xmlns_cc = "http://web.resource.org/cc/"; $xmlns_rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"; diff --git a/trunk/video.pl b/trunk/video.pl index 529530f..49a629f 100644 --- a/trunk/video.pl +++ b/trunk/video.pl @@ -9,15 +9,6 @@ $session = new CGI::Session; @page = get_page_array(@userinfo); -# wtf is this shit ? -if($query->url_param('action') eq 'edit' and $query->url_param('id')) -{ - $page->{'message'}->{'type'} = "information"; -} -if($query->url_param('action') eq 'bookmark' and $query->url_param('id')) -{ - $page->{'message'}->{'type'} = "information"; -} #check if id or title is passed if($query->url_param('id')) {