# 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 @@
- | Deny | -Disallow | -Wiki mode | -Allow | +{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} | +@@ -20,14 +22,8 @@ | |||||||||
- Permission types: -
| + {lang:acl_lbl_help} |
+ |
{NAME} {USER_LEVEL} + +
+
+
+
+
+
|
+ | {SEND_PM_LINK} {ADD_BUDDY_LINK} |
- | Deny | -Disallow | -Wiki mode | -Allow | +{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} | +@@ -20,14 +22,8 @@ | |||||||||
- Permission types: -
| + {lang:acl_lbl_help} |
+ |
{NAME} {USER_LEVEL} + +
+
+
+
+
+
|
+ | {SEND_PM_LINK} {ADD_BUDDY_LINK} |
- | Deny | -Disallow | -Wiki mode | -Allow | +{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} | +@@ -20,14 +22,8 @@ | |||||||||
- Permission types: -
| + {lang:acl_lbl_help} |
+ |
{NAME} {USER_LEVEL} + +
+
+
+
+
+
|
+ | {SEND_PM_LINK} {ADD_BUDDY_LINK} |