# HG changeset patch # User Dan # Date 1201493835 18000 # Node ID 73444271fd1c2016c4d4f8ddfca36ee37fb2a276 # Parent 82b991bee7977e332d2113e76411ea47dbdc9199 Updated acledit and comment templates on themes, as they weren't in sync with Oxygen; fixed some undefined index errors in SpecialAdmin and paths diff -r 82b991bee797 -r 73444271fd1c includes/paths.php --- a/includes/paths.php Sun Jan 27 23:03:57 2008 -0500 +++ b/includes/paths.php Sun Jan 27 23:17:15 2008 -0500 @@ -149,7 +149,15 @@ { $r['urlname_nons'] = $r['urlname']; - $r['urlname'] = $this->nslist[$r['namespace']] . $r['urlname']; // Applies the User:/File:/etc prefixes to the URL names + if ( isset($this->nslist[$r['namespace']]) ) + { + $r['urlname'] = $this->nslist[$r['namespace']] . $r['urlname']; // Applies the User:/File:/etc prefixes to the URL names + } + else + { + $ns_char = substr($this->nslist['Special'], -1); + $r['urlname'] = $r['namespace'] . $ns_char . $r['urlname']; + } if ( $r['delvotes'] == null) { diff -r 82b991bee797 -r 73444271fd1c plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Sun Jan 27 23:03:57 2008 -0500 +++ b/plugins/SpecialAdmin.php Sun Jan 27 23:17:15 2008 -0500 @@ -1225,7 +1225,7 @@ { $cls = ( $cls == 'row2' ) ? 'row3' : 'row2'; $this_plugin = ( isset($system[$plugin_files[$i]]) ) ? $system[$plugin_files[$i]] : $plugin_list[$plugin_files[$i]]; - $is_system = ( $system[$plugin_files[$i]] ); + $is_system = ( @$system[$plugin_files[$i]] ); $bgcolor = ''; if ( $is_system && $cls == 'row2' ) $bgcolor = ' style="background-color: #FFD8D8;"'; diff -r 82b991bee797 -r 73444271fd1c themes/admin/acledit.tpl --- a/themes/admin/acledit.tpl Sun Jan 27 23:03:57 2008 -0500 +++ b/themes/admin/acledit.tpl Sun Jan 27 23:17:15 2008 -0500 @@ -3,15 +3,17 @@ - - - - + + + + + + @@ -20,14 +22,8 @@ -
DenyDisallowWiki modeAllow{lang:acl_lbl_field_inherit}{lang:acl_lbl_field_deny}{lang:acl_lbl_field_disallow}{lang:acl_lbl_field_wikimode}{lang:acl_lbl_field_allow}
{FIELD_DESC}
-

Permission types:

-
    -
  • Allow means that the user is allowed to access the item
  • -
  • Wiki mode means the user can access the item if wiki mode is active (per-page wiki mode is taken into account)
  • -
  • Disallow means the user is denied access unless something allows it.
  • -
  • Deny means that the user is denied access to the item. This setting overrides all other permissions.
  • -
+
+ {lang:acl_lbl_help}
diff -r 82b991bee797 -r 73444271fd1c themes/admin/comment.tpl --- a/themes/admin/comment.tpl Sun Jan 27 23:03:57 2008 -0500 +++ b/themes/admin/comment.tpl Sun Jan 27 23:17:15 2008 -0500 @@ -4,23 +4,30 @@ {DATETIME} - + - -
+ {NAME}
{USER_LEVEL} + +
+ + {AVATAR_ALT} + +
+
+ {SEND_PM_LINK} {ADD_BUDDY_LINK}
- Subject: {SUBJECT} + {lang:comment_lbl_subject} {SUBJECT} @@ -42,7 +49,7 @@ - Moderation options: {MOD_APPROVE_LINK} {MOD_DELETE_LINK} + {lang:comment_lbl_mod_options} {MOD_APPROVE_LINK} {MOD_DELETE_LINK} | {MOD_IP_LINK} diff -r 82b991bee797 -r 73444271fd1c themes/printable/acledit.tpl --- a/themes/printable/acledit.tpl Sun Jan 27 23:03:57 2008 -0500 +++ b/themes/printable/acledit.tpl Sun Jan 27 23:17:15 2008 -0500 @@ -3,15 +3,17 @@ - - - - + + + + + + @@ -20,14 +22,8 @@ -
DenyDisallowWiki modeAllow{lang:acl_lbl_field_inherit}{lang:acl_lbl_field_deny}{lang:acl_lbl_field_disallow}{lang:acl_lbl_field_wikimode}{lang:acl_lbl_field_allow}
{FIELD_DESC}
-

Permission types:

-
    -
  • Allow means that the user is allowed to access the item
  • -
  • Wiki mode means the user can access the item if wiki mode is active (per-page wiki mode is taken into account)
  • -
  • Disallow means the user is denied access unless something allows it.
  • -
  • Deny means that the user is denied access to the item. This setting overrides all other permissions.
  • -
+
+ {lang:acl_lbl_help}
diff -r 82b991bee797 -r 73444271fd1c themes/printable/comment.tpl --- a/themes/printable/comment.tpl Sun Jan 27 23:03:57 2008 -0500 +++ b/themes/printable/comment.tpl Sun Jan 27 23:17:15 2008 -0500 @@ -4,23 +4,30 @@ {DATETIME} - + - -
+ {NAME}
{USER_LEVEL} + +
+ + {AVATAR_ALT} + +
+
+ {SEND_PM_LINK} {ADD_BUDDY_LINK}
- Subject: {SUBJECT} + {lang:comment_lbl_subject} {SUBJECT} @@ -42,7 +49,7 @@ - Moderation options: {MOD_APPROVE_LINK} {MOD_DELETE_LINK} + {lang:comment_lbl_mod_options} {MOD_APPROVE_LINK} {MOD_DELETE_LINK} | {MOD_IP_LINK} diff -r 82b991bee797 -r 73444271fd1c themes/stpatty/acledit.tpl --- a/themes/stpatty/acledit.tpl Sun Jan 27 23:03:57 2008 -0500 +++ b/themes/stpatty/acledit.tpl Sun Jan 27 23:17:15 2008 -0500 @@ -3,15 +3,17 @@ - - - - + + + + + + @@ -20,14 +22,8 @@ -
DenyDisallowWiki modeAllow{lang:acl_lbl_field_inherit}{lang:acl_lbl_field_deny}{lang:acl_lbl_field_disallow}{lang:acl_lbl_field_wikimode}{lang:acl_lbl_field_allow}
{FIELD_DESC}
-

Permission types:

-
    -
  • Allow means that the user is allowed to access the item
  • -
  • Wiki mode means the user can access the item if wiki mode is active (per-page wiki mode is taken into account)
  • -
  • Disallow means the user is denied access unless something allows it.
  • -
  • Deny means that the user is denied access to the item. This setting overrides all other permissions.
  • -
+
+ {lang:acl_lbl_help}
diff -r 82b991bee797 -r 73444271fd1c themes/stpatty/comment.tpl --- a/themes/stpatty/comment.tpl Sun Jan 27 23:03:57 2008 -0500 +++ b/themes/stpatty/comment.tpl Sun Jan 27 23:17:15 2008 -0500 @@ -4,23 +4,30 @@ {DATETIME} - + - -
+ {NAME}
{USER_LEVEL} + +
+ + {AVATAR_ALT} + +
+
+ {SEND_PM_LINK} {ADD_BUDDY_LINK}
- Subject: {SUBJECT} + {lang:comment_lbl_subject} {SUBJECT} @@ -42,7 +49,7 @@ - Moderation options: {MOD_APPROVE_LINK} {MOD_DELETE_LINK} + {lang:comment_lbl_mod_options} {MOD_APPROVE_LINK} {MOD_DELETE_LINK} | {MOD_IP_LINK}