- removed and moved (from common to admin) some CSS rules

- upgraded jQuery and accordion to latest version (and reorganised a bit their location)

git-svn-id: http://piwigo.org/svn/trunk@2489 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2008-08-28 01:26:26 +00:00
parent abb2f22b2e
commit 3a67845aaf
19 changed files with 4038 additions and 432 deletions
+4 -4
View File
@@ -241,7 +241,7 @@ class Template {
{
if ( !isset($this->files[$handle]) )
{
die("Template->parse(): Couldn't load template file for handle $handle");
trigger_error("Template->parse(): Couldn't load template file for handle $handle", E_USER_ERROR);
}
$this->smarty->assign( 'ROOT_URL', get_root_url() );
@@ -367,13 +367,13 @@ class Template {
$tags = array('if', 'foreach', 'section');
foreach($tags as $tag)
{
array_push($regex, "#^\s+($ldq$tag"."[^$ld$rd]*$rdq)\s*$#m");
array_push($regex, "#^\s+($ldq/$tag$rdq)\s*$#m");
array_push($regex, "#^[ \t]+($ldq$tag"."[^$ld$rd]*$rdq)\s*$#m");
array_push($regex, "#^[ \t]+($ldq/$tag$rdq)\s*$#m");
}
$tags = array('include', 'else', 'html_head');
foreach($tags as $tag)
{
array_push($regex, "#^\s+($ldq$tag"."[^$ld$rd]*$rdq)\s*$#m");
array_push($regex, "#^[ \t]+($ldq$tag"."[^$ld$rd]*$rdq)\s*$#m");
}
$source = preg_replace( $regex, "$1", $source);
return $source;