diff -r 74e03196fd43 -r e45183014778 plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Sat Jul 19 21:14:54 2008 -0400 +++ b/plugins/SpecialAdmin.php Sun Jul 20 13:32:04 2008 -0400 @@ -317,6 +317,13 @@ setConfig('breadcrumb_mode', $_POST['breadcrumb_mode']); } + // CDN path + if ( preg_match('/^http:\/\//', $_POST['cdn_path']) || $_POST['cdn_path'] === '' ) + { + // trim off a trailing slash + setConfig('cdn_path', preg_replace('#/$#', '', $_POST['cdn_path'])); + } + setConfig('register_tou', RenderMan::preprocess_text($_POST['register_tou'], true, false)); // Account lockout policy @@ -567,6 +574,23 @@ + + + + + +

+ get('acpgc_field_cdn_path'); ?>
+ get('acpgc_field_cdn_path_hint'); ?> +

+

+ get('acpgc_field_cdn_path_example'); ?> +

+ + + + + @@ -1995,7 +2019,7 @@ } else { - $template->add_header(''); + $template->add_header(''); if( !isset( $_GET['noheaders'] ) ) { $template->header(); @@ -2088,28 +2112,28 @@ 'target' : '_self', // name of the frame links will be opened in // other possible values are: _blank, _parent, _search, _self and _top - 'icon_e' : '/images/icons/empty.gif', // empty image - 'icon_l' : '/images/icons/line.gif', // vertical line - 'icon_32' : '/images/icons/base.gif', // root leaf icon normal - 'icon_36' : '/images/icons/base.gif', // root leaf icon selected - 'icon_48' : '/images/icons/base.gif', // root icon normal - 'icon_52' : '/images/icons/base.gif', // root icon selected - 'icon_56' : '/images/icons/base.gif', // root icon opened - 'icon_60' : '/images/icons/base.gif', // root icon selected - 'icon_16' : '/images/icons/folder.gif', // node icon normal - 'icon_20' : '/images/icons/folderopen.gif', // node icon selected - 'icon_24' : '/images/icons/folder.gif', // node icon opened - 'icon_28' : '/images/icons/folderopen.gif', // node icon selected opened - 'icon_0' : '/images/icons/page.gif', // leaf icon normal - 'icon_4' : '/images/icons/page.gif', // leaf icon selected - 'icon_8' : '/images/icons/page.gif', // leaf icon opened - 'icon_12' : '/images/icons/page.gif', // leaf icon selected - 'icon_2' : '/images/icons/joinbottom.gif', // junction for leaf - 'icon_3' : '/images/icons/join.gif', // junction for last leaf - 'icon_18' : '/images/icons/plusbottom.gif', // junction for closed node - 'icon_19' : '/images/icons/plus.gif', // junction for last closed node - 'icon_26' : '/images/icons/minusbottom.gif',// junction for opened node - 'icon_27' : '/images/icons/minus.gif' // junction for last opended node + 'icon_e' : '/images/icons/empty.gif', // empty image + 'icon_l' : '/images/icons/line.gif', // vertical line + 'icon_32' : '/images/icons/base.gif', // root leaf icon normal + 'icon_36' : '/images/icons/base.gif', // root leaf icon selected + 'icon_48' : '/images/icons/base.gif', // root icon normal + 'icon_52' : '/images/icons/base.gif', // root icon selected + 'icon_56' : '/images/icons/base.gif', // root icon opened + 'icon_60' : '/images/icons/base.gif', // root icon selected + 'icon_16' : '/images/icons/folder.gif', // node icon normal + 'icon_20' : '/images/icons/folderopen.gif', // node icon selected + 'icon_24' : '/images/icons/folder.gif', // node icon opened + 'icon_28' : '/images/icons/folderopen.gif', // node icon selected opened + 'icon_0' : '/images/icons/page.gif', // leaf icon normal + 'icon_4' : '/images/icons/page.gif', // leaf icon selected + 'icon_8' : '/images/icons/page.gif', // leaf icon opened + 'icon_12' : '/images/icons/page.gif', // leaf icon selected + 'icon_2' : '/images/icons/joinbottom.gif', // junction for leaf + 'icon_3' : '/images/icons/join.gif', // junction for last leaf + 'icon_18' : '/images/icons/plusbottom.gif', // junction for closed node + 'icon_19' : '/images/icons/plus.gif', // junction for last closed node + 'icon_26' : '/images/icons/minusbottom.gif',// junction for opened node + 'icon_27' : '/images/icons/minus.gif' // junction for last opended node }; addOnloadHook(function() @@ -2199,10 +2223,10 @@ else { - $template->add_header(''); - $template->add_header(''); - $template->add_header(''); - $template->add_header(''); + $template->add_header(''); + $template->add_header(''); + $template->add_header(''); + $template->add_header(''); $template->load_theme('oxygen', 'bleu'); $template->init_vars();