Changeset 927

Show
Ignore:
Timestamp:
01/23/06 20:28:52 (3 years ago)
Author:
hirokai
Message:

email address cleanup

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/feedmelinks/feedmelinks/.htaccess-global

    r924 r927  
    124124 
    125125# faq 
    126 RewriteRule    ^faq                                              /FAQ 
     126RewriteRule    ^fuq                                              http://feedmelinks.com/cgi-bin/wiki.pl 
     127RewriteRule    ^faq                                              http://feedmelinks.com/FAQ 
     128 
    127129 
    128130# redirection / old urls 
  • trunk/feedmelinks/feedmelinks/.htaccess-live

    r919 r927  
     1# $Id$ 
     2 
     3# ACCESS CONTROL SETTINGS 
     4##################################################### 
     5 
     6AuthUserFile   /usr/home/hirokai/jm3.net/.htpasswd 
     7AuthGroupFile  /usr/home/hirokai/jm3.net/.htpasswd.group    
     8AuthName       jm3-authmonkey 
     9AuthType       Basic 
    110 
    211# PHP CONFIGURATION 
    312##################################################### 
     13 
    414php_flag asp_tags on 
    515php_value mysql.default_host "db26.pair.com" 
     
    717php_value mysql.default_password "MeatLove1" 
    818 
    9 # DEBUG LOGGING 
     19# LOGGING 
    1020##################################################### 
     21 
    1122php_value error_log  "/usr/home/hirokai/fml/_logs/global.log" 
    1223php_flag log_errors on 
  • trunk/feedmelinks/feedmelinks/FAQ/index.php

    r903 r927  
    251251                        Yes. we support connections via HTTP and 
    252252                        can make your links available to you as XML 
    253                         over HTTP or RSS. <a href="mailto:admins@feedmelinks.com">Contact us</a> for access and 
     253                        over HTTP or RSS. <a href="mailto:<%= get_maintainer_email() %>">Contact us</a> for access and 
    254254                        the API details. 
    255255                </div> 
     
    403403         
    404404                        <p/> 
    405                         <a href="mailto:admins@feedmelinks.com">Email us</a> for additional help or documentation... 
     405                        <a href="mailto:<%= get_maintainer_email() %>">Email us</a> for additional help or documentation... 
    406406         
    407407                </div> 
  • trunk/feedmelinks/feedmelinks/_config/parse-config.xsl

    r925 r927  
    77 
    88                <xsl:choose> 
    9                         <xsl:when test="$mode = 'php'"> 
    10 &lt;% 
     9                        <xsl:when test="$mode = 'php'">&lt;% 
    1110                                        function get_env() { 
    1211                                                return "<xsl:value-of select="$server-name" />"; 
     
    1716                                        } 
    1817                                </xsl:for-each> 
    19 %&gt; 
    2018                                <xsl:call-template name="CRLF" /> 
    21                        </xsl:when> 
     19%&gt;</xsl:when> 
    2220 
    2321                        <xsl:when test="$mode = 'htaccess'"> 
  • trunk/feedmelinks/feedmelinks/_config/servers.xml

    r921 r927  
    1818                webserver-root="/Users/erdnase/www/feedmelinks.com" 
    1919                database-name="fml" 
     20                maintainer-email="dingus-boojer@oojwala.net" 
    2021                xsl-parser="/sw/bin/xsltproc" 
    2122                http-downloader="/sw/bin/lynx" 
     
    3839                webserver-root="/usr/home/hirokai/feedmelinks.com" 
    3940                database-name="hirokai_jm3DataMart" 
     41                maintainer-email="dingus-boojer@oojwala.net" 
    4042                xsl-parser="/usr/local/bin/xsltproc" 
    4143                http-downloader="/usr/local/bin/lynx" 
  • trunk/feedmelinks/feedmelinks/account.php

    r907 r927  
    102102                                                        showUserImage( $u ); 
    103103%> 
    104 <h2><a class="hot" href="/account">&laquo; Back to your profile.</a></h2> 
    105 or <h2><a class="hot" href="/">&laquo; Back to your links.</a></h2> 
     104<h2><a style="color: #ff6600;" href="/account">&laquo; Back to your profile.</a></h2> 
     105or <h2><a style="color: #ff6600;" href="/">&laquo; Back to your links.</a></h2> 
    106106<% 
    107107                                                } else { 
  • trunk/feedmelinks/feedmelinks/categorize.php

    r907 r927  
    219219<style type="text/css"> 
    220220        /* momentarily override the visited colorizing so as not to confuse the user... */ 
     221        a:visited { color: #ff6600; } 
    221222 
    222223        .l { height: 1.6em; } 
     
    278279<div class="l"> 
    279280<%= $cb %> 
     281<a href="javascript:pc(<%= $id %>);"><img src="img/lil-tag<%= !$public ? "-private" : "" %>-bice.gif" align="absmiddle" border="0" /></a> 
    280282<a <%= !$public ? "style='color: $hiddenColor;'" : "" %> <%= $alreadySelected ? "class=\"hot\" " : "" %>href="javascript:pc(<%= $id %>);"><%= 
    281283        $catName %></a> 
     
    364366<style type="text/css"> 
    365367        /* momentarily override the visited colorizing so as not to confuse the user... */ 
     368        a:visited { color: #ff6600; } 
    366369        table, tr, td { background-color: #E5E5E5 } 
    367370</style> 
  • trunk/feedmelinks/feedmelinks/comments.php

    r917 r927  
    3636 
    3737<% 
    38         chdir( get_root() ); 
     38        chdir( getHomeDir() ); 
    3939        $cmd = "find _comments/$user -type f | xargs -n1 grep -H -v $user | sort -rk 2"; 
    4040        if( $debug ) 
     
    9696<% 
    9797        $c = 1; #counter 
    98         $the_dir = get_root() . '/_comments/' . $user; 
     98        $the_dir = getHomeDir() . '/_comments/' . $user; 
    9999        if( is_dir( $the_dir )) { 
    100100        chdir( $the_dir ); 
     
    148148 
    149149<% 
    150         chdir( get_root() ); 
     150        chdir( getHomeDir() ); 
    151151        $cmd = "find _comments/ -type f | sort -r | xargs -n1 grep -H $user, | grep -v comments/$user | sort -r -k 2"; 
    152152        if( $debug ) 
  • trunk/feedmelinks/feedmelinks/contacts/big.php

    r443 r927  
    5050</p> 
    5151<p> 
    52 -- jm3 @ feedmelinks.com 
     52-- <%= get_maintainer_email() %> 
    5353</p> 
    5454<% 
  • trunk/feedmelinks/feedmelinks/contacts/recent.php

    r916 r927  
    1212        function send_peeps_email( $u ) { 
    1313 
    14                 $msg = "From: Feed Me Links <jm3@feedmelinks.com>\n"; 
     14                $msg = "From: Feed Me Links <" . get_maintainer_email() . ">\n"; 
    1515                $msg .= "MIME-Version: 1.0\n"; 
    1616                $boundary = uniqid("FML_UNIQ_BOUNDARY_"); 
  • trunk/feedmelinks/feedmelinks/folder-as-rss.php

    r889 r927  
    116116    <description><%= $errors ? "this " . getCatName() . " is not available as RSS" : $title %></description> 
    117117    <managingEditor><%= getEmailAddressForUser( $owner ) %></managingEditor> 
    118     <webMaster>jm3@feedmelinks.com</webMaster> 
     118    <webMaster><%= get_maintainer_email() %></webMaster> 
    119119    <link><%= $site %></link> 
    120120    <language>en-us</language> 
  • trunk/feedmelinks/feedmelinks/funnel.php

    r907 r927  
    2222 
    2323<title> Feed Me Links : <%= $op == "change" ? getCatVerb() : "save" %> link </title> 
     24 
     25<style type="text/css"> 
     26.invisitext { 
     27        background-color: #<%= getBGColor() %>; 
     28        border: 0px; 
     29} 
     30</style> 
     31 
    2432 
    2533<% if( $debug ) { %> 
     
    227235        <b><%= $catName %><%= $debug ? " ($id)" : "" %></b></a><br /> 
    228236</td> 
    229  
    230237<% 
    231238                                } else { 
  • trunk/feedmelinks/feedmelinks/import/do-random-checks.inc.php

    r643 r927  
    3434 
    3535        if( $num_dupes > $max_dupes_allowed ) { 
    36                 fatal( "We noticed that a percentage ($max_dupes_allowed links) of the links you're importing already exist in your Feed Me Links account. Have you imported this bookmarks file already? If not, please <a href='mailto:help@feedmelinks.com'>email the administrators</a> for help importing your favorites." ); 
     36                fatal( "We noticed that a percentage ($max_dupes_allowed links) of the links you're importing already exist in your Feed Me Links account. Have you imported this bookmarks file already? If not, please <a href='mailto:" . get_maintainer_email() . "'>email the administrators</a> for help importing your favorites." ); 
    3737                exit( 0 ); 
    3838        } # else 
  • trunk/feedmelinks/feedmelinks/index.php

    r881 r927  
    139139                                } else { # link add failed 
    140140                                        echo "sorry, something bad happened and your new link wasn't added."; 
    141                                         echo "please click your back button and try again, or email admins@feedmelinks.com.<br />\n"; 
     141                                        echo "please click your back button and try again, or email " . get_maintainer_email() . ".<br />\n"; 
    142142                                } 
    143143 
  • trunk/feedmelinks/feedmelinks/install/how-confusing.php

    r354 r927  
    4141now you can add new sites to your big mess of links with one 
    4242single click, like a pro. wicked cool.  <a 
    43 href="mailto:help@feedmelinks.com">contact the helpdesk</a> if 
     43href="mailto:<%= get_maintainer_email() %>">contact the helpdesk</a> if 
    4444you need assistance.</p> 
    4545 
  • trunk/feedmelinks/feedmelinks/login.php

    r871 r927  
    8282                                                echo $dbPassword . "<br />"; 
    8383                                        } 
    84                                         $mesg = "Darn it! Your password seems to be incorrect. Please double-check your username and password and try again, or email the <a href='mailto:jm3@feedmelinks.com'>admins</a> if you need help."; 
     84                                        $mesg = "Darn it! Your password seems to be incorrect. Please double-check your username and password and try again, or email the <a href='mailto:" . get_maintainer_email() . "'>admins</a> if you need help."; 
    8585                                        $shouldShowLoginForm = 1; 
    8686                                } 
     
    8888                        } 
    8989                } else { 
    90                         $mesg = "Oh no! We couldn't find your Username in our database! Please double-check your username and try again, or email the <a href='mailto:jm3@feedmelinks.com'>admins</a> if you need help."; 
     90                        $mesg = "Oh no! We couldn't find your Username in our database! Please double-check your username and try again, or email the <a href='mailto:" . get_maintainer_email() . "'>admins</a> if you need help."; 
    9191                } 
    9292                conClose( $con_login ); 
     
    133133 
    134134Save this message under your pillow in case you forget your username 
    135 and password. Email support@feedmelinks.com with any questions or comments. 
     135and password. Email " . get_maintainer_email() . "with any questions or comments. 
    136136 
    137137Happy Linking! 
     
    141141"; 
    142142 
    143                                                         $headers .= "From: Feed Me Links <LinkEaters@FeedMeLinks.com>\n"; 
     143                                                        $headers .= "From: Feed Me Links <" . get_maintainer_email() . ">\n"; 
    144144                                                        $headers .= "X-Mailer: feedmelinks-mailer-daemon\n"; 
    145145                                                        $mailSuccess = mail( $origEmail, $subject, $body, $headers); 
     
    154154                                                        $authenticated = 1; 
    155155                                                        $sessionUserId = $userId; 
    156                                                         setCookie( "c_uid", $userId, time()+60*60*24*69, "/", ".feedmelinks.com" ); 
    157                                                         setCookie( "c_pass_token", md5( getPasswdForUser( $sessionUserId )), time()+60*60*24*69, "/", ".feedmelinks.com" ); 
    158                                                          
     156                                                        setCookie( "c_uid", $userId, time()+60*60*24*69, "/", get_cookie_domain() ); 
     157                                                        setCookie( "c_pass_token", md5( getPasswdForUser( $sessionUserId )), time()+60*60*24*69, "/", get_cookie_domain() ); 
     158 
    159159                                                        # display status message: 
    160160                                                        echo "<h3>Creating your user account...</h3><br />\n";  
     
    180180        } else { 
    181181                if( $op != "logout" && $op == "login" ) 
    182                         $mesg = "Dang. Login failed. Please double-check your username and password and try again, or email the <a href='mailto:admins@feedmelinks.com'>admins</a> if you need help."; 
     182                        $mesg = "Dang. Login failed. Please double-check your username and password and try again, or email the <a href='mailto:" . get_maintainer_email() . "'>admins</a> if you need help."; 
    183183        } 
    184184%> 
     
    198198<form name="login_form" action="<%= $page %>"> 
    199199        <input type="hidden" name="op" value="login" /> 
     200        <input type="hidden" name="debug" value="<%= $debug %>" /> 
    200201<% if( $bounceToPage ) { %> 
    201202<input type="hidden" name="bounceToPage" value="<%= $bounceToPage %>" /> 
  • trunk/feedmelinks/feedmelinks/mailer.php

    r926 r927  
    7676        <td><textarea name="comment" rows="10" cols="38" style="margin-left: 5px;">Check this out:  
    7777 
    78 <%= getSiteURL() %>/<%= $id %> 
     78http://feedmelinks.com/<%= $id %> 
    7979 
    8080 
  • trunk/feedmelinks/feedmelinks/misc/forgot-password.php

    r728 r927  
    2525                        $showForm = false; 
    2626 
    27                         $from = "linkmaster@feedmelinks.com"
     27                        $from = get_maintainer_email()
    2828                        $subject = "Your Feed Me Links password"; 
    2929                        $headers = ""; 
  • trunk/feedmelinks/feedmelinks/modules/utils.inc.php

    r926 r927  
    17371737         
    17381738        # clear the login cookies 
    1739         setCookie( "c_uid",        "", time() + 3000, "/", ".feedmelinks.com" ); 
    1740         setCookie( "c_pass_token", "", time() + 3000, "/", ".feedmelinks.com" ); 
     1739        setCookie( "c_uid",        "", time() + 3000, "/", get_cookie_domain() ); 
     1740        setCookie( "c_pass_token", "", time() + 3000, "/", get_cookie_domain() ); 
    17411741 
    17421742        # log the user out: 
     
    19611961                                echo "Sorry, something bad happened and your new folder wasn't created.<br />"; 
    19621962                                echo "$qs"; 
    1963                                 echo "Please click your back button and choose a different folder, or email admins@feedmelinks.com.<br />\n";  
     1963                                echo "Please click your back button and choose a different folder, or email " . get_maintainer_email() . ".<br />\n";  
    19641964                                conClose( $con_addFolderDriver );  
    19651965                                return 0; 
     
    30503050} 
    30513051 
     3052# FIXME: remove the old humpback-named wrapper function and refactor the calling code 
     3053function get_site() { 
     3054        return getSiteURL(); 
     3055} 
     3056 
    30523057function getSiteURL() { 
    30533058        $port = get_port() ? ":" . get_port() : ""; 
  • trunk/feedmelinks/feedmelinks/rss-1.0.php

    r559 r927  
    1717    <title>Feed Me Links</title> 
    1818    <description>your portable public link suitcase</description> 
    19                 <managingEditor>all-of-us@feedmelinks.com</managingEditor> 
    20                 <webMaster>jm3@feedmelinks.com</webMaster> 
     19                <managingEditor><% get_maintainer_email() %></managingEditor> 
     20                <webMaster><%= get_maintainer_email() %></webMaster> 
    2121    <link><%= $site %></link> 
    2222    <language>en-us</language> 
  • trunk/feedmelinks/feedmelinks/rss-2.0.php

    r426 r927  
    1919    <description>your portable public link suitcase</description> 
    2020                <dc:language>en-us</dc:language> 
    21                 <dc:creator>all-of-us@feedmelinks.com</dc:creator> 
     21                <dc:creator><%= get_maintainer_email() %></dc:creator> 
    2222                <dc:rights>Copyleft 2004</dc:rights> 
    2323                <dc:date><%= $dcdate %></dc:date> 
    24                 <admin:errorReportsTo rdf:resource="mailto:jm3@feedmelinks.com"/> 
     24                <admin:errorReportsTo rdf:resource="mailto:<%= get_maintainer_email() %>"/> 
    2525<% 
    2626                $hideTimes = true; 
  • trunk/feedmelinks/feedmelinks/user-as-rss.php

    r790 r927  
    1212        # global: 
    1313        $title = "Feed Me Links!"; 
    14         $creatorEmail = "all-of-us@feedmelinks.com"
     14        $creator_email = get_maintainer_email()
    1515        $description = "your portable public link suitcase"; 
    1616 
     
    3737                <dc:rights>Copyleft 2004</dc:rights> 
    3838                <dc:date><%= $dcdate %></dc:date> 
    39                 <admin:errorReportsTo rdf:resource="mailto:jm3@feedmelinks.com"/> 
     39                <admin:errorReportsTo rdf:resource="mailto:$creator_email"/> 
    4040<% 
    4141                $con_userAsRss = mysql_connect(); 
     
    107107    <description><%= $description %></description> 
    108108                <dc:language>en-us</dc:language> 
    109                 <dc:creator>jm3@feedmelinks.com</dc:creator> 
     109                <dc:creator><%= $creator_email %></dc:creator> 
    110110                <dc:rights>Copyleft 2004</dc:rights> 
    111111                <dc:date><%= $dcdate %></dc:date> 
    112                 <admin:errorReportsTo rdf:resource="mailto:jm3@feedmelinks.com"/> 
     112                <admin:errorReportsTo rdf:resource="mailto:$creator_email"/> 
    113113                <item> 
    114114                        <title>Feed Me Links</title>