Changeset 84

Show
Ignore:
Timestamp:
01/08/06 23:19:22 (3 years ago)
Author:
dave
Message:

A series of changes to push Elgg's approach to themes in a more CSS driven direction. There are still a couple of small tables which house admin data in a tabular format. Over time these will be replaced. I will also send a message around to the development mailing list detailing what I have done. All themes prior to these changes are now obsolete.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/_weblog/view_post.php

    r45 r84  
    4444                         
    4545                        $time = gmdate("F d, Y",$post->posted); 
    46                         $body = "<h2 class=\"weblogdateheader\">$time</h2>\n"; 
     46                        $body = "<h2 class=\"weblog_dateheader\">$time</h2>\n"; 
    4747                         
    4848                        $body .= run("weblogs:posts:view:individual",$post); 
  • devel/content/mainindex/content_main_index.php

    r45 r84  
    33        $sitename = sitename; 
    44         
    5         $run_result = "<h5>" . gettext("Welcome") . "</h5>"; 
    6         $run_result .= "<p><b>" . sprintf(gettext("Why not <a href=\"%s\">create your profile</a>?"), url . "profile/edit.php") . "</b><br />"; 
     5        $run_result = "<h3>" . gettext("Welcome") . "</h3>"; 
     6        $run_result .= "<p><b>" . sprintf(gettext("Why not <a href=\"%s\">create your profile</a>?"), url . "profile/edit.php") . "</b></p>"; 
    77        $run_result .= "<p>". gettext("Tell people about yourself and connect to others with similar interests and goals.") . "<br />"; 
    88         
     
    3636                $news = $news[0]; 
    3737                 
    38                 $run_result .= "<div class=\"siteNews\">"; 
     38                $run_result .= "<div class=\"sitenews\">"; 
    3939                $run_result .= "<h2>" . gettext("Latest news") . "</h2>"; 
    4040                $run_result .= "<p>" . nl2br(stripslashes($news->body)) . "</p>"; 
  • devel/help/mainindex/blogs_help_page.php

    r45 r84  
    33$run_result .= <<< END 
    44 
    5 <div class="helpFiles"> 
    6 <h5>Why would you want to have a blog?</h5
     5<div class="helpfiles"> 
     6<h3>Why would you want to have a blog?</h3
    77<p>Your blog can serve multiple purposes:</p> 
    88<ul> 
     
    1414 
    1515<h5>How to do it?</h5> 
    16 <p><b>>> Select 'Post a new entry'</b></p
     16<h4>>> Select 'Post a new entry'</h4
    1717<img src="/help/images/blog_start.jpg" alt="Post a blog entry" title="Post a blog entry" width="369" height="99" border="0"> 
    1818<p><b>Step one:</b> Now you will see the 'Add a new post' page. First you give your blog post a title then fill in some content.</p> 
     
    2626<img src="/help/images/blog_five.jpg" alt="Embed an image" title="Embed an image" width="485" height="67" border="0"> 
    2727<p><b>Step five:</b> Now just press 'Post' and you have created your first blog post!</p> 
    28 <h5>Other functions</h5
     28<h3>Other functions</h3
    2929<p><b>RSS feed:</b> this is so people can follow your blog posts using an RSS aggregator. (<i>Note: only the posts you mark as public</i>)</p> 
    3030<p><b>Archive:</b> this is all your blog posts stored by month.</p> 
    3131<p><b>Friends blogs:</b> this displays all the posts made by your friends.</p> 
    3232<p><b>View all posts:</b> this will display all the blog posts in the system.</p> 
    33 <h5>Troubleshooting</h5
    34 <p><b>I can't find any files to embed?</b></p
     33<h3>Troubleshooting</h3
     34<h4>I can't find any files to embed?</h4
    3535<p>Check you have actually uploaded some files to your file respository. You cannot upload a file from your own computer - at the moment you must first have stored it in your personal file repository.</p> 
    36 <p><b>Why are my keywords not working?</b></p
     36<h4>Why are my keywords not working?</h4
    3737<p>Your keywords will only create links if the keyword exists somewhere else in the system. If not you are the first and you will need to wait until someone else uses it. Also make sure you have separated with commas.</p> 
    38 <p><b>The RSS feed page is all code?</b></p
     38<h4>The RSS feed page is all code?</h4
    3939<p>This is what an RSS feed looks like - it is designed to be interpreted by an RSS reader.</p> 
    40 <p><b>Does this blog have an HTML editor?</b></p
     40<h4>Does this blog have an HTML editor?</h4
    4141<p>At present no - we are testing different ones just now. However, the most common request was to create links. To do this you just need to type the link, or paste it in and the system automatically turns it into an active link.</p> 
    4242 
  • devel/help/mainindex/file_help_page.php

    r45 r84  
    44        $run_result .= <<< END 
    55 
    6 <div class="helpFiles"> 
    7 <h5>Why would you want to have a file repository?</h5
     6<div class="helpfiles"> 
     7<h2>Why would you want to have a file repository?</h2
    88<ul> 
    99<li>Use this to upload and store all your photos, coursework, articles to read etc.</li> 
     
    1313</ul> 
    1414 
    15 <h5>How to do it?</h5
    16 <p><b>>> Select 'Add a file or a folder'</b></p
     15<h3>How to do it?</h3
     16<h4>>> Select 'Add a file or a folder'</h4
    1717<img src="/help/images/files_one.jpg" alt="Start" title="Start" width="365" height="95" border="0"> 
    1818 
     
    3636<p><i>Note: you can create as may sub-directories as you want - just click on the folder for which you want to create a sub-directory in and then follow the instructions to 'Create a folder' above.</i></p> 
    3737<p><i>Note: to upload a file into a folder instead of the root directory just click on the folder you wish to upload the file to and then follow the instructions 'How to do it?' above.</i></p> 
    38 <h5>Other functions</h5
     38<h3>Other functions</h3
    3939<p><b>RSS feed:</b> this is so people can follow your file uploads using an RSS aggregator. (<i>Note: only the files you mark as public</i>)</p> 
    4040<p><b>Delete:</b> once you have uploaded a file or created a folder you can also delete them - <b>warning!</b> once a file has been deleted it is gone forever.</p> 
    4141<p><b>Edit:</b> once you have uploaded a file you can edit its properties at a later date - this is handy if you want to change the description or access restriction.</p> 
    42 <h5>Troubleshooting</h5
    43 <p><b>Why is my file not uploading?</b></p
     42<h3>Troubleshooting</h3
     43<h4>Why is my file not uploading?</h4
    4444<p>PHP has a default file size limit on files being uploaded - this is 5mb, check that your file is smaller than this. (It is worth noting that on some servers PHP's limit is 2mb - this is worth checking with your administrator) Make sure the file type is allowed, your administrator will let you know what file extensions are supported.</p> 
    4545</div> 
  • devel/help/mainindex/network_help_page.php

    r45 r84  
    66        $run_result .= <<< END 
    77 
    8 <div class="helpFiles"> 
    9 <h5>What is 'Your Network'?</h5
     8<div class="helpfiles"> 
     9<h3>What is 'Your Network'?</h3
    1010<ul> 
    1111<li>It consists of friends you have a connection to, friends that have connected to you, communities you are a member of and communities you have set up.</li> 
     
    1313</ul> 
    1414 
    15 <h6>Communities:</h6
     15<h3>Communities:</h3
    1616<p>This menu option displays all the comunities you are a member of. If you have not joined any communities then you will get a message saying that.</p> 
    17 <h6>Owned Communities:</h6
     17<h3>Owned Communities:</h3
    1818<p>This will list all the communities you own. These are the communities that you have set up.</p> 
    1919<p>It is here that you can create new communities</p> 
    20 <p><b>>> Here's how:</b></p
     20<h4>>> Here's how:</h4
    2121<p><b>Step 1:</b> You need to give the community a name as well as a username.</p> 
    2222<img src="/help/images/community_one.jpg" alt="Create a community" title="Create a community" width="336" height="120" border="0"> 
    2323<p><b>Step 2:</b> Click '<b>create</b>' and that is it! You have now created a new comunity.</p> 
    24 <h6>Friends:</h6
     24<h3>Friends:</h3
    2525<p><b>Friends I have linked to</b> this page displays all the friends you have linked to. To remove a friend you just click on the small icon beside their name.</p> 
    2626<p><i>Note: To find some friends you could search on a subject you are interested in, invite some into the system or click on any keywords you may have.</i></p> 
    27 <h6>Friend of:</h6
     27<h3>Friend of:</h3
    2828<p><b>Friends who have linked to me</b> this page displays all the people who have linked to you as a friend. If you wish to make one of them your friend just click on the small icon beside their name.</p> 
    29 <h6>FOAF:</h6
     29<h3>FOAF:</h3
    3030<p>This is a protocol for passing information about you between systems.</p> 
    31 <h6>Access controls:</h6
     31<h3>Access controls:</h3
    3232<p>This is one of the most important aspects of your landscape. It allows you to control who has access to your content.</p> 
    3333<ul> 
     
    3636<li>You create and control your access groups.</li> 
    3737</ul> 
    38 <h6>Invite a friend:</h6
     38<h3>Invite a friend:</h3
    3939<p>This lets you invite in other people you think might be interested in the system.</p> 
    40 <h5>Troubleshooting</h5
    41 <p><b>How do I meet people to be my friends?</b></p
     40<h4>Troubleshooting</h4
     41<h5>How do I meet people to be my friends?</h5
    4242<p>This can be done in a number of ways - you can use the search box and try searching on something you are interested in. You can try selecting one of your keywords and seeing who you can find. You could see if anyone has made you their friend and do the same in return</p> 
    43 <p><b>Can I just make people my friend or should I ask them?</b></p
     43<h5>Can I just make people my friend or should I ask them?</h5
    4444<p>This is up to you - if you make someone your friend it does not give you any special privilages regarding their site.</p> 
    45 <p><b>I can't delete a community I created</b></p
     45<h5>I can't delete a community I created</h5
    4646<p>This is because we are not yet sure how to handle this situation. If we let everyone just delete communities they create - what happens to the content of the community? It could be very discouraging to join a community, actively participate only to see the owner pull the plug and all your contributions and connections are lost. We are currently thinking of ways to handle this situation.</p> 
    4747<p></p> 
  • devel/help/mainindex/profile_help_page.php

    r45 r84  
    33        $sitename = sitename; 
    44        $run_result .= <<< END 
    5 <div class="helpFiles"> 
    6 <h5>Why would you want to have a profile?</h5
     5<div class="helpfiles"> 
     6<h3>Why would you want to have a profile?</h3
    77<p>Your profile serves two purposes:</p> 
    88<ul> 
     
    1212<p>It not only creates links to other people but also resources - this helps you find information which could help with your studies and research!</p> 
    1313 
    14 <h5>How to do it?</h5
     14<h3>How to do it?</h3
    1515 
    16 <p><b>>> Select 'Edit this profile'</b></p
     16<h4>>> Select 'Edit this profile'</h4
    1717<img src="/help/images/profile_to_do.jpg" alt="How to do it?" title="How to do it?" width="369" height="104" border="0"> 
    1818 
  • devel/units/admin/admin_main.php

    r45 r84  
    1515                                 
    1616                                $run_result .= run("templates:draw", array( 
    17                                         'context' => 'databox', 
    18                                         'name' => sprintf(gettext("Accounts of type '%s'"), $user->user_type)
    19                                         'column1' => $user->numusers
     17                                        'context' => 'adminTable', 
     18                                        'name' => "<h3>" . sprintf(gettext("Accounts of type '%s'"), $user->user_type) . "</h3> "
     19                                        'column1' => "<p>" . $user->numusers . "</p> "
    2020                                        'column2' => "&nbsp;" 
    2121                                ) 
     
    3131                $weblog_comments_7days = db_query("select count(ident) as numposts from weblog_comments where posted > (UNIX_TIMESTAMP() - (86400 * 7))"); 
    3232                $run_result .= run("templates:draw", array( 
    33                                         'context' => 'databox', 
    34                                         'name' => gettext("Weblog statistics")
    35                                         'column1' => "<b>" . gettext("All-time:") . "</b> " . sprintf(gettext("%d weblog posts, %d comments"),$weblog_posts[0]->numposts, $weblog_comments[0]->numposts) . "<br /><b>" . gettext("Last 7 days:") . "</b> " . sprintf(gettext("%d weblog posts, %d comments"),$weblog_posts_7days[0]->numposts, $weblog_comments_7days[0]->numposts)
     33                                        'context' => 'adminTable', 
     34                                        'name' => "<h3>" . gettext("Weblog statistics") . "</h3> "
     35                                        'column1' => "<h4>" . gettext("All-time:") . "</h4><p>" . sprintf(gettext("%d weblog posts, %d comments"),$weblog_posts[0]->numposts, $weblog_comments[0]->numposts) . "</p><h4>" . gettext("Last 7 days:") . "</h4><p>" . sprintf(gettext("%d weblog posts, %d comments"),$weblog_posts_7days[0]->numposts, $weblog_comments_7days[0]->numposts) . "</p>"
    3636                                        'column2' => "&nbsp;" 
    3737                                ) 
     
    4242                $files_7days = db_query("select count(ident) as numfiles, sum(size) as totalsize from files where time_uploaded > (UNIX_TIMESTAMP() - (86400 * 7))"); 
    4343                $run_result .= run("templates:draw", array( 
    44                                         'context' => 'databox', 
    45                                         'name' => gettext("File statistics")
    46                                         'column1' => "<b>" . gettext("All-time:") . "</b> " . sprintf(gettext("%d files (%d bytes)"),$files[0]->numfiles, $files[0]->totalsize) . "<br /><b>" . gettext("Last 7 days:") . "</b> " . sprintf(gettext("%d files (%d bytes)"),$files_7days[0]->numfiles, $files_7days[0]->totalsize)
     44                                        'context' => 'adminTable', 
     45                                        'name' => "<h3>" . gettext("File statistics") . "</h3> "
     46                                        'column1' => "<h4>" . gettext("All-time:") . "</h4> <p>" . sprintf(gettext("%d files (%d bytes)"),$files[0]->numfiles, $files[0]->totalsize) . "</p><h4>" . gettext("Last 7 days:") . "</h4><p>" . sprintf(gettext("%d files (%d bytes)"),$files_7days[0]->numfiles, $files_7days[0]->totalsize) . "</p>"
    4747                                        'column2' => "&nbsp;" 
    4848                                ) 
     
    5151        // Users online right now 
    5252         
    53                 $run_result .= "<h5>" . gettext("Users online now") . "</h5>"; 
     53                $run_result .= "<h2>" . gettext("Users online now") . "</h2>"; 
    5454                $run_result .= "<p>" . gettext("The following users have an active session and have performed an action within the past 10 minutes.") . "</p>"; 
    5555                 
     
    5858                        $run_result .= run("templates:draw", array( 
    5959                                        'context' => 'databox', 
    60                                         'name' => "<b>" . gettext("Username") . "</b>", 
    61                                         'column1' => "<b>" . gettext("Full name") . "</b>", 
    62                                         'column2' => "<b>" . gettext("Email address") . "</b>" 
     60                                        'name' => "<h3>" . gettext("Username") . "</h3>", 
     61                                        'column1' => "<h3>" . gettext("Full name") . "</h3>", 
     62                                        'column2' => "<h3>" . gettext("Email address") . "</h3>" 
    6363                                ) 
    6464                                ); 
  • devel/units/admin/admin_userdetails.php

    r45 r84  
    1818                        if ($user_details->username != "news") { 
    1919                         
    20                                 $run_result .= "<h5>" . gettext("Change username:") . "</h5>"; 
     20                                $run_result .= "<h3>" . gettext("Change username:") . "</h3>"; 
    2121                                $run_result .= run("templates:draw", array( 
    2222                                        'context' => 'databox', 
     
    2828                        } 
    2929                         
    30                         $run_result .= "<h5>" . gettext("Change file quota (in bytes):") . "</h5>"; 
     30                        $run_result .= "<h3>" . gettext("Change file quota (in bytes):") . "</h3>"; 
    3131                        $run_result .= run("templates:draw", array( 
    3232                                'context' => 'databox', 
     
    3535                        ) 
    3636                        ); 
    37                         $run_result .= "<h5>" . gettext("Change icon quota:") . "</h5>"; 
     37                        $run_result .= "<h3>" . gettext("Change icon quota:") . "</h3>"; 
    3838                        $run_result .= run("templates:draw", array( 
    3939                                'context' => 'databox', 
     
    4444                         
    4545                        if ($user_details->user_type == "person") { 
    46                                 $run_result .= "<h5>" . gettext("User flags:") . "</h5>"; 
     46                                $run_result .= "<h3>" . gettext("User flags:") . "</h3>"; 
    4747                                // Is the user an administrator? 
    4848                                if (run("users:flags:get", array("admin", $page_owner))) { 
  • devel/units/admin/admin_users.php

    r45 r84  
    1818                $run_result .= "<form action=\"". url . "_userdetails/\" method=\"get\">"; 
    1919                $run_result .= run("templates:draw", array( 
    20                                         'context' => 'databox', 
    21                                         'name' => gettext("Enter username")
     20                                        'context' => 'adminTable', 
     21                                        'name' => "<h4>" . gettext("Enter username") ."</h4>"
    2222                                        'column1' => "<input type=\"text\" name=\"profile_name\" value=\"\" /><input type=\"hidden\" name=\"context\" value=\"admin\" />", 
    2323                                        'column2' => "<input type=\"submit\" value=\"".gettext("Edit user") . "\" />" 
     
    3434                        $run_result .= run("templates:draw", array( 
    3535                                        'context' => 'databox', 
    36                                         'name' => "<b>" . gettext("Username") . "</b>", 
    37                                         'column1' => "<b>" . gettext("Full name") . "</b>", 
    38                                         'column2' => "<b>" . gettext("Email address") . "</b>" 
     36                                        'name' => "<h5>" . gettext("Username") . "</h5>", 
     37                                        'column1' => "<h5>" . gettext("Full name") . "</h5>", 
     38                                        'column2' => "<h5>" . gettext("Email address") . "</h5>" 
    3939                                ) 
    4040                                ); 
     
    5858                         
    5959                        $run_result .= run("templates:draw", array( 
    60                                                 'context' => 'databox', 
     60                                                'context' => 'adminTable', 
    6161                                                'name' => "&nbsp;", 
    6262                                                'column1' => $prev . "&nbsp" . $next, 
  • devel/units/admin/admin_users_add.php

    r45 r84  
    1919                        $run_result .= "<form action=\"\" method=\"post\">"; 
    2020                         
    21                         $name = "<b>" . gettext("Username") . "</b><br /><br />"; 
    22                         $column1 = "<b>" . gettext("Full name") . "</b><br /><br />"; 
    23                         $column2 = "<b>" . gettext("Email address") . "</b><br /><br />"; 
     21                        $name = "<h3>" . gettext("Username") . "</h3>"; 
     22                        $column1 = "<h3>" . gettext("Full name") . "</h3>"; 
     23                        $column2 = "<h3>" . gettext("Email address") . "</h3>"; 
    2424                         
    2525                        for ($i = 0; $i < 12; $i++) { 
     
    3737                         
    3838                        $run_result .= run("templates:draw", array( 
    39                                         'context' => 'databox', 
     39                                        'context' => 'adminTable', 
    4040                                        'name' => $name, 
    4141                                        'column1' => $column1, 
  • devel/units/admin/admin_users_panel.php

    r45 r84  
    88                 
    99                $run_result .= run("templates:draw", array( 
    10                                                 'context' => 'databox', 
    11                                                 'name' => stripslashes($parameter->username)
     10                                                'context' => 'adminTable', 
     11                                                'name' => "<p>" . stripslashes($parameter->username) . "</p>"
    1212                                                'column1' => "<a href=\"" . url . "_userdetails/?profile_id=" .$parameter->ident . "&amp;context=admin\" >" . stripslashes($parameter->name) . "</a> [<a href=\"".url . stripslashes($parameter->username) ."/\">" . gettext("Profile") . "</a>]", 
    1313                                                'column2' => "<a href=\"mailto:" . $parameter->email. "\" >" . $parameter->email . "</a>" 
  • devel/units/admin/display_content_flag_form.php

    r45 r84  
    1212                 
    1313                $run_result .= run("templates:draw", array( 
    14                                                         'context' => 'databox', 
    15                                                         'name' => gettext("Flag content")
    16                                                         'column1' => gettext("To mark this content as obscene or inappropriate, click the 'Flag' button and an administrator will view it in due course.")
     14                                                        'context' => 'flagContent', 
     15                                                        'name' => "<h5>" . gettext("Flag content") . "</h5>"
     16                                                        'column1' => "<p>" . gettext("To mark this content as obscene or inappropriate, click the 'Flag' button and an administrator will view it in due course.") . "</p>"
    1717                                                        'column2' => "<input type=\"submit\" value=\"" . gettext("Flag") . "\" /><input type=\"hidden\" name=\"action\" value=\"content:flag\" /><input type=\"hidden\" name=\"address\" value=\"$page_url\" />" 
    1818                                                ) 
  • devel/units/communities/communities_create.php

    r45 r84  
    2323                &nbsp; 
    2424        </p> 
    25         <h5
     25        <h3
    2626                $header 
    27         </h5
     27        </h3
    2828        <form action="" method="post"> 
    2929END; 
  • devel/units/communities/communities_edit.php

    r64 r84  
    1414                                                                         
    1515                $body = <<< END 
    16         <table class="userlist"> 
     16        <div class="networktable"> 
     17        <table> 
    1718                <tr> 
    1819END; 
     
    4041                                $friends_menu = run("users:infobox:menu",array($info->ident)); 
    4142                                $body .= <<< END 
    42                                 <td align="center"
     43                                <td
    4344                                        <p> 
    4445                                        <a href="{$url}{$friends_username}/"> 
     
    6667        </tr> 
    6768        </table> 
     69        </div> 
    6870END; 
    6971 
  • devel/units/communities/communities_members.php

    r74 r84  
    1414                                                                         
    1515                $body = <<< END 
    16         <table class="userlist"> 
     16        <div class="networktable"> 
     17        <table> 
    1718                <tr> 
    1819END; 
     
    4041                                // $friends_menu = run("users:infobox:menu",array($info->ident)); 
    4142                                $body .= <<< END 
    42                                 <td align="center"
     43                                <td
    4344                                        <p> 
    4445                                        <a href="{$url}{$friends_username}/"> 
     
    6162        </tr> 
    6263        </table> 
     64        </div> 
    6365END; 
    6466 
  • devel/units/communities/communities_moderator_of.php

    r74 r84  
    1313                                                                         
    1414                $body = <<< END 
    15         <table class="userlist"> 
     15        <div class="networktable"> 
     16        <table> 
    1617                <tr> 
    1718END; 
     
    3940                // $friends_menu = run("users:infobox:menu",array($info->ident)); 
    4041                $body .= <<< END 
    41                 <td align="center"
     42                <td
    4243                        <p> 
    4344                        <a href="{$url}{$friends_username}/"> 
     
    6465        </tr> 
    6566        </table> 
     67        </div> 
    6668END; 
    6769 
  • devel/units/communities/communities_owned.php

    r45 r84  
    99                                                                                and users.user_type = 'community'"); 
    1010                        if (sizeof($result) > 0) { 
    11                                 $body = "<p>"; 
     11                                $body = "<ul>"; 
    1212                                foreach($result as $row) { 
    13                                         $body .= "<a href=\"" . url . stripslashes($row->username) . "/\">" . stripslashes($row->name) . "</a><br />"; 
     13                                        $body .= "<li><a href=\"" . url . stripslashes($row->username) . "/\">" . stripslashes($row->name) . "</a></li>>"; 
    1414                                } 
    15                                 $body .= "</p>"; 
     15                                $body .= "</ul>"; 
    1616                                // $run_result .= $body; 
     17                                $run_result .= "<li id=\"community_owned\">"; 
    1718                                $run_result .= run("templates:draw", array( 
    18                                                 'context' => 'contentholder', 
     19                                                'context' => 'sidebarholder', 
    1920                                                'title' => gettext("Owned communities"), 
    20                                                 'body' => $body, 
    21                                                 'submenu' => '' 
     21                                                'body' => $body 
    2222                                        ) 
    2323                                        ); 
     24                                $run_result .= "</li>"; 
    2425                        } else { 
    2526                                $run_result .= ""; 
  • devel/units/communities/community_memberships.php

    r45 r84  
    1313                                 
    1414                        if (sizeof($result) > 0) { 
    15                                 $body = "<p>"; 
     15                                $body = "<ul>"; 
    1616                                foreach($result as $row) { 
    17                                         $body .= "<a href=\"" . url . stripslashes($row->username) . "/\">" . stripslashes($row->name) . "</a><br />"; 
     17                                        $body .= "<li><a href=\"" . url . stripslashes($row->username) . "/\">" . stripslashes($row->name) . "</a></li>"; 
    1818                                } 
    19                                 $body .= "</p>"; 
     19                                $body .= "</ul>"; 
     20                                 $run_result .= "<li id=\"community_membership\">"; 
    2021                                $run_result .= run("templates:draw", array( 
    21                                                 'context' => 'contentholder', 
     22                                                'context' => 'sidebarholder', 
    2223                                                'title' => gettext("Community memberships"), 
    23                                                 'body' => $body, 
    24                                                 'submenu' => '' 
     24                                                'body' => $body 
    2525                                        ) 
    2626                                        ); 
     27                            $run_result .= "</li>"; 
    2728                        } else { 
    2829                                $run_result .= ""; 
  • devel/units/display/function_input_field_display.php

    r56 r84  
    3939                                 
    4040                                case "text": 
    41                                                 $run_result .= "<input type=\"text\" name=\"".$parameter[0]."\" value=\"".htmlentities(stripslashes($parameter[1]))."\" style=\"width: 95%\" id=\"".$cleanid."\" />"; 
     41                                                $run_result .= "<input type=\"text\" name=\"".$parameter[0]."\" value=\"".htmlentities(stripslashes($parameter[1]))."\" class=\"small_textarea\" id=\"".$cleanid."\" />"; 
    4242                                                break; 
    4343                                case "password": 
    44                                                 $run_result .= "<input type=\"password\" name=\"".$parameter[0]."\" value=\"".htmlentities(stripslashes($parameter[1]))."\" style=\"width: 95%\" id=\"".$cleanid."\" />"; 
     44                                                $run_result .= "<input type=\"password\" name=\"".$parameter[0]."\" value=\"".htmlentities(stripslashes($parameter[1]))."\" class=\"password_textarea\" id=\"".$cleanid."\" />"; 
    4545                                                break; 
    4646                                case "mediumtext": 
    47                                                 $run_result .= "<textarea name=\"".$parameter[0]."\" id=\"".$cleanid."\" style=\"width: 95%; height: 100px\">".htmlentities(stripslashes($parameter[1]))."</textarea>"; 
     47                                                $run_result .= "<textarea name=\"".$parameter[0]."\" id=\"".$cleanid."\" class=\"medium_textarea\">".htmlentities(stripslashes($parameter[1]))."</textarea>"; 
    4848                                                break; 
    4949                                case "keywords": 
     
    8080                                                } 
    8181                                                // $parameter[1] = var_export($parameter,true); 
    82                                                 $run_result .= "<textarea name=\"".$parameter[0]."\" id=\"".$cleanid."\" style=\"width: 95%; height: 100px\">".htmlentities(stripslashes($parameter[1]))."</textarea>"; 
     82                                                $run_result .= "<textarea name=\"".$parameter[0]."\" id=\"".$cleanid."\" class=\"keywords_textarea\">".htmlentities(stripslashes($parameter[1]))."</textarea>"; 
    8383                                                break; 
    8484                                case "longtext": 
    85                                                 $run_result .= "<textarea name=\"".$parameter[0]."\" id=\"".$cleanid."\" style=\"width: 95%; height: 200px\">".htmlentities(stripslashes($parameter[1]))."</textarea>"; 
     85                                                $run_result .= "<textarea name=\"".$parameter[0]."\" id=\"".$cleanid."\" class=\"textarea\">".htmlentities(stripslashes($parameter[1]))."</textarea>"; 
    8686                                                break; 
    8787                                case "richtext": 
  • devel/units/files/default_templates.php

    r45 r84  
    1919         
    2020        $template['folder'] = <<< END 
     21                                        <div class="foldertable"> 
    2122                                        <table> 
    2223                                                <tr> 
    23                                                         <td valign="middle"
     24                                                        <td
    2425                                                                <a href="{{url}}"> 
    2526                                                                        <img src="{{icon}}" width="93" height="90" border="0" alt="" /> 
    2627                                                                </a> 
    2728                                                        </td> 
    28                                                         <td valign="middle"
    29                                                                 <a href="{{url}}">{{name}}</a> <small>{{menu}}</small><br /
    30                                                                 <small>{{keywords}}</small 
     29                                                        <td
     30                                                                <p><a href="{{url}}">{{name}}</a> {{menu}}</p
     31                                                                <p>{{keywords}}</p> 
    3132                                                        </td> 
    3233                                                </tr> 
    3334                                        </table> 
     35                                        </div> 
    3436END; 
    3537 
     
    5153        $template['fi