+ Replaced old functions to listing dirs in admin_script.php and admin_users.php
+ Fixed update server address + Replaced URL in footer + Deleted admin styles page + Fixed a few bugs in polish language files git-svn-id: https://svn.pioder.pl/uf-svn/uF@35 72ec579a-5ced-4fa4-82f3-afba5d98df2f
This commit is contained in:
@@ -13,47 +13,7 @@ if ( !defined('IN_uF') )
|
||||
}
|
||||
class Admin_Over
|
||||
{
|
||||
function ListPages($page, $count = 50)//for edit profile, not used in limit!
|
||||
{
|
||||
$content = '';
|
||||
for ($i=1;$i<=$count;$i++)
|
||||
{
|
||||
if ($i==$page)
|
||||
{
|
||||
$content .= '<option value="'.$i.'" selected="selected">'.$i.'</option>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$content .= '<option value="'.$i.'">'.$i.'</option>';
|
||||
}
|
||||
}
|
||||
return $content;
|
||||
unset($content);
|
||||
}
|
||||
|
||||
function ListDir($dir, $selection)
|
||||
{
|
||||
$result='';
|
||||
$rep=opendir('./../'.$dir);
|
||||
while ($file = readdir($rep))
|
||||
{
|
||||
if($file != '..' && $file !='.' && $file !='' && $file[0] != '.')
|
||||
{
|
||||
if (is_dir('./../'.$dir.'/'.$file)){
|
||||
if ($file==$selection)
|
||||
{
|
||||
$result .='<option value="'.$file.'" selected="selected">'.$file.'</option>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$result .='<option value="'.$file.'">'.$file.'</option>';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return $result;
|
||||
unset($rep, $file, $result);
|
||||
}
|
||||
|
||||
function DefaultLang()
|
||||
{
|
||||
|
||||
@@ -39,7 +39,7 @@ define('TOPICS_TABLE',DB_PREFIX.'topics');
|
||||
define('WARNINGS_TABLE',DB_PREFIX.'warns');
|
||||
|
||||
//footer forum text
|
||||
define('FOOTER_TEXT','<span class="copyright" >Powered by <b>µForum</b></span><span class="copyright"> © 2007-2009 </span><a href="http://pioder.gim2przemysl.int.pl/" class="copyright" target="_blank"><b>PioDer</b></a>');
|
||||
define('FOOTER_TEXT','<span class="copyright" >Powered by <b>µForum</b></span><span class="copyright"> © 2007-2009 </span><a href="http://pioder.ath.cx/" class="copyright" target="_blank"><b>PioDer</b></a>');
|
||||
//hash for password
|
||||
define('PASSWD_HASH','bJVhVFCthvhVhKBU6GUbhUBU6VI7BiU6fV7G76Kbug6FU67VsaVYat5FJUHssaYVY5fV5GUHI76uKYTjYKKTatastYKYTYKg6ds7IRdsagI565JTrJ4NFGagGKLULygaTJHgfYDRZagGHJ65KL7iryikuuyriMYIYYUyugFTDeRnLKJNuyTDTRsERy78IJOhHCTDYjomLKBJDF5THNNBjyFCDYekjnKBUYgIHnUIbyuG6UyHNKJjnKHVut6FBYlH987g6GIUBbg76V5NNLUBH76BKLBi76FVtjN76Gi77ggYVCx3 R4SGhfGLHIH64XFGBUNLJOgfvc4Y3ScvmljmOBVc4klJKNIuBGVY6 MbvhGCRGgJLjKFHrYYJnKJGFHTfJJjnLK');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user