@@ -350,15 +350,15 @@
if( $j == 1 )
echo '"invite"'
. ( ! empty( $op['invite'] ) && $op['invite'] == 'N' ? '' : $checked )
- . ' />' . translate( 'Can Invite' );
+ . '>' . translate( 'Can Invite' );
elseif( $j == 2 )
echo '"email"'
. ( ! empty( $op['email'] ) && $op['email'] == 'N' ? '' : $checked )
- . ' />' . translate( 'Can Email' );
+ . '>' . translate( 'Can Email' );
else {
echo '"time"'
. ( ! empty( $op['time'] ) && $op['time'] == 'Y' ? $checked : '' )
- . ' onclick="enableAll( this.checked );" />'
+ . ' onclick="enableAll( this.checked );">'
. translate( 'Can See Time Only' );
$bottomedge = 'boxbottom';
}
@@ -368,40 +368,40 @@
'
. ' |
+ . '>
|
+ ? $checked : '' ) . '>
| '
+ ? $checked : '' ) . '>'
. ( $guser != '__public__' ? '
|
+ . '>
|
+ ? $checked : '' ) . '>
|
+ ? $checked : '' ) . '>
|
+ ? $checked : '' ) . '>
|
+ ? $checked : '' ) . '>
| '
+ ? $checked : '' ) . '>'
: '' ) . '
';
}
@@ -410,11 +410,11 @@
'
. ( $otheruser != '__default__' && $otheruser != '__public__' ? '
' : '' ) . '
+ . '" onclick="selectAll(63);"> ' : '' ) . '
+ . '" onclick="selectAll(256);">
+ . '" onclick="selectAll(0);">
|
@@ -431,8 +431,8 @@
echo '
-
-
+
+
|
diff --git a/activity_log.php b/activity_log.php
index c01144dce..06863ffc4 100644
--- a/activity_log.php
+++ b/activity_log.php
@@ -50,7 +50,7 @@
. '" class="next" href="activity_log.php' . ( $row[0] <= $previd
? ( $sys ? '?system=1' : '' )
: '?startid=' . $previd . ( $sys ? '&system=1' : '' ) ) . '">'
- . $nextStr . ' ' . $PAGE_SIZE . ' ' . $eventsStr . ' ';
+ . $nextStr . ' ' . $PAGE_SIZE . ' ' . $eventsStr . ' ';
dbi_free_result ( $res );
}
diff --git a/admin.php b/admin.php
index 08889c3bf..7838433b6 100644
--- a/admin.php
+++ b/admin.php
@@ -102,8 +102,8 @@ function save_pref ( $prefs, $src ) {
define_languages(); // Load the language list.
reset ( $languages );
- $checked = ' checked="checked"';
- $selected = ' selected="selected"';
+ $checked = ' checked';
+ $selected = ' selected';
$select = translate ( 'Select' ) . '...';
// Allow css_cache of webcal_config values.
@@ -113,7 +113,7 @@ function save_pref ( $prefs, $src ) {
$editStr = '';
+ . 'outerWidth=520\' );" name="">';
$choices = ['day.php', 'week.php', 'month.php', 'year.php'];
$choices_text = [translate ( 'Day' ), translate ( 'Week' ),
translate ( 'Month' ), translate ( 'Year' )];
@@ -238,12 +238,12 @@ function save_pref ( $prefs, $src ) {
. '
+ . 'outerWidth=420\' );">
diff --git a/adminhome.php b/adminhome.php
index 771f3b817..0b1e9ac61 100644
--- a/adminhome.php
+++ b/adminhome.php
@@ -152,7 +152,7 @@
print_header( '',
/*
- '
If this is the proper way to call css_cacher.php from here?
*/
- '
- ' );
+ '
+ ' );
echo '
' . translate( 'Administrative Tools' ) . '
diff --git a/approve_entry.php b/approve_entry.php
index c63c4ddda..bf041f24a 100644
--- a/approve_entry.php
+++ b/approve_entry.php
@@ -32,9 +32,9 @@
+ . '">
+ . translate( 'Approve and Exit' ) . '">
|
diff --git a/assistant_edit.php b/assistant_edit.php
index 9426a4286..5f5d22134 100644
--- a/assistant_edit.php
+++ b/assistant_edit.php
@@ -11,17 +11,17 @@
$user = ( ( $is_admin || $is_nonuser_admin ) && $user ) ? $user : $login;
print_header( '', ! $GROUPS_ENABLED == 'Y' ? '' :
- '' );
+ '' );
echo '
diff --git a/category.php b/category.php
index 2d3600f0a..388fa2aaa 100644
--- a/category.php
+++ b/category.php
@@ -40,7 +40,7 @@
// Try PNG if GIF not found
if ( ! file_exists ( $catIcon ) )
$catIcon = $icon_path . 'cat-' . $id . '.png';
- $idStr = '';
+ $idStr = '';
} else
$catcolor = '#000000';
@@ -69,7 +69,7 @@
' .
+ . htmlspecialchars ($catname) . '">' .
($is_admin && empty ($id) ? '
-
+
-
-
+
+ . '">
' : '' ) // end test of ENABLE_ICON_UPLOADS
. '
';
} else
@@ -145,14 +145,14 @@
}
echo ( file_exists ( $catIcon ) ? '' : '' ) . '';
+ . $catIconStr . '" title="' . $catIconStr . '">' : '' ) . '';
}
echo '
';
}
echo ( $global_found ? '* ' . $globalStr : '' ) . '
';
+ . ' ';
}
?>
diff --git a/catsel.php b/catsel.php
index 1ba190002..dbd2e9d77 100644
--- a/catsel.php
+++ b/catsel.php
@@ -60,9 +60,9 @@
echo '
|
+ . '>
- |
*' . translate ( 'Global Category' )
. ' |
+ . '" onclick="sendCats()">
|
+ . translate ( 'Cancel' ) . '" onclick="window.close()">
diff --git a/docadd.php b/docadd.php
index ae759df30..0cc11e7d6 100644
--- a/docadd.php
+++ b/docadd.php
@@ -143,7 +143,7 @@
if ( ! empty ( $_FILES['FileName'] ) )
$file = $_FILES['FileName'];
if ( empty ( $file['file'] ) )
- $error = 'File Upload error! ';
+ $error = 'File Upload error! ';
//print_r ( $file ); exit;
$mimetype = $file['type'];
@@ -203,20 +203,20 @@
?>
@@ -225,22 +225,21 @@
?>
-
diff --git a/docs/php2html.pl b/docs/php2html.pl
index 7053cbf3c..bdb2eeb86 100755
--- a/docs/php2html.pl
+++ b/docs/php2html.pl
@@ -30,8 +30,8 @@ sub add_links {
$in =~ s/&/&/g;
$in =~ s/&&/&/g;
- $in =~ s/ (Note|Notes):/
$1<\/span>/gi;
- $in =~ s/ (TODO):/
$1<\/span>/gi;
+ $in =~ s/ (Note|Notes):/
$1<\/span>/gi;
+ $in =~ s/ (TODO):/
$1<\/span>/gi;
return $in;
}
@@ -40,13 +40,13 @@ sub print_function {
my ( $loc ) = @_;
$out{$name} = "\n";
$out{$name} .= "$name ( " . '$' . join ( ', $', @params ) .
- " )
\n";
+ " )
\n";
if ( defined ( $description ) ) {
$out{$name} .= "Description:" .
"";
$out{$name} .= add_links ( $description ) . " \n";
}
- $out{$name} .= "Parameters: \n\n";
+ $out{$name} .= "Parameters: \n\n";
if ( @params == 0 ) {
$out{$name} .= "- None
\n";
}
@@ -61,7 +61,7 @@ sub print_function {
( $returns eq '' ? "Nothing" : add_links ( $returns ) ) . "\n";
$out{$name} .= "Location:" .
"$loc \n";
- $out{$name} .= "
\n";
+ $out{$name} .= "
\n";
}
%funcNames = ( );
@@ -175,11 +175,8 @@ sub print_function {
close ( F );
print<
-
-
+
+
$TITLE
|