/**
  * configure the page title (what appears in your browser's title bar)
  * @return string the page title
  */
 protected function getPageTitle()
 {
     $words = new MOD_words();
     if (MOD_right::get()->hasRight("Verifier", "ApprovedVerifier")) {
         echo $words->getFormatted("verifymembers_approvedverifier");
     } else {
         echo $words->getFormatted("verifymembers_teaser");
     }
 }
Exemplo n.º 2
0
 public function ShowSimpleTeaser($title)
 {
     $words = new MOD_words();
     echo '<div id="teaser" class="clearfix">';
     echo '<h1>' . $words->getFormatted($title) . '</h1>';
     echo '</div>';
 }
Exemplo n.º 3
0
 protected function getPageTitle()
 {
     $words = new MOD_words();
     if (isset($_SESSION['Username'])) {
         return $words->getFormatted('WelcomeUsername', $_SESSION['Username']);
     } else {
         return 'BeWelcome';
     }
 }
    protected function column_col3()
    {
        $words = new MOD_words();
        ?>
        <p class=" error"><?php 
        echo $words->getFormatted('GalleryImageNotFoundText');
        ?>
</p>
        <?php 
    }
Exemplo n.º 5
0
    protected function column_col3()
    {
        $statement = $this->statement;
        $galleries = $this->galleries;
        $words = new MOD_words();
        ?>
        <h3><?php 
        echo $words->getFormatted('Photosets');
        ?>
</h3>
        <?php 
        require SCRIPT_BASE . 'build/gallery/templates/galleries_overview.php';
    }
Exemplo n.º 6
0
<h2>
    <?php 
if ($navichain_items = $boards->getNaviChain()) {
    $navichain = '<span class="forumsboardnavichain">';
    foreach ($navichain_items as $link => $title) {
        $navichain .= '<a href="' . $link . '">' . $title . '</a> :: ';
    }
    $navichain .= '<a href="' . $boards->getBoardLink() . '">' . $boards->getBoardName() . '</a><br /></span>';
} else {
    $navichain = '';
}
echo $navichain;
if ($allow_title) {
    // New Topic
    if ($edit) {
        echo $words->getFormatted("forum_edit_topic");
    } else {
        echo $words->getFormatted("forum_new_topic");
    }
} else {
    // Answer
    if ($edit) {
        echo $words->getFormatted("forum_edit_post");
    } else {
        echo $words->getFormatted("forum_reply_title") . ' &quot;' . $topic->topicinfo->title . '&quot;';
    }
}
?>
</h2>

<form method="post" onsubmit="return check_SelectedLanguage();" action="<?php 
Exemplo n.º 7
0
}
$Data = $this->_data;
// Retrieve the data to display (set by the controller)
$list = $Data->Choices;
// Retrieve the possible choices
?>
<h2><?php 
echo $words->fTrad($Data->rPoll->Title);
?>
</h2> 
<p><?php 
echo $words->fTrad($Data->rPoll->Description);
?>
</p>
<p><?php 
echo $words->getFormatted("polls_peoplehavecontributed", $Data->rPoll->Started, $Data->rPoll->Ended, $Data->TotContrib);
?>
</p>
<?php 
$styles = array('highlight', 'blank');
// alternating background for table rows
$iiMax = count($list);
// This retrieve the number of polls
$IdPoll = $Data->rPoll->id;
?>

<table class="fixed">

<?php 
if ($list != false) {
    ?>
Exemplo n.º 8
0
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/> or 
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 
Boston, MA  02111-1307, USA.
*/
/** 
 * @author Felix van Hove <*****@*****.**>
 */
$words = new MOD_words();
?>
<h3><?php 
echo $words->getBuffered("WordsDownload_Title");
?>
</h3>
<p><?php 
echo $words->getFormatted('WordsDownload_Description');
?>
</p>
<p>
<form id="wordsdownload" name="wordsdownload" method="post" action="admin/wordsdownload" />
<input type="checkbox" name="Replace">&nbsp;&nbsp;<?php 
echo $words->getBuffered("WordsDownload_ReplaceOption");
?>
<br /><br />
<input type="hidden" name="<?php 
echo $callbackId;
?>
" value="1" />
<input type="submit" name="SubmitDownload" value="<?php 
echo $words->getBuffered("WordsDownload_SubmitButton");
?>
Exemplo n.º 9
0
?>
</td>
<td valign="top">
    <h<?php 
echo $headingLevel;
?>
><?php 
echo htmlentities($comment->title, ENT_COMPAT, 'utf-8');
?>
</h<?php 
echo $headingLevel;
?>
>
    <div class="author small">
        <?php 
echo $words->getFormatted('written_by');
?>
 <a href="members/<?php 
echo $comment->user_handle;
?>
"><?php 
echo $comment->user_handle;
?>
</a>
        <a href="blog/<?php 
echo $comment->user_handle;
?>
" title="Read blog by <?php 
echo $comment->user_handle;
?>
"><img src="images/icons/blog.gif" alt="" /></a>
Exemplo n.º 10
0
                <img src="images/misc/donationbar.png" alt="<?php 
    echo $Percent;
    ?>
%" 
                class="percentImage" style="
                     background: white url(images/misc/donationbar_bg.png) top left no-repeat;
                     padding: 0;
                     margin: 5px 0 0 0;
                     background-position: 0pt <?php 
    echo $BarState;
    ?>
px;"
                />
            </td>

            <td style="vertical-align: top">
                <div style="position: relative; top: <?php 
    echo $TextState;
    ?>
px">
                    <?php 
    echo $words->getFormatted('Donate_bar_annual_2013', $TotalDonations, $TotalDonationsNeeded);
    ?>
                </div>
            </td>

        </tr>
    </table>
</div>
<?php 
}
Exemplo n.º 11
0
<?php

$User = APP_User::login();
$words = new MOD_words();
?>

<div id="teaser" class="clearfix">
<h1><?php 
echo $words->getFormatted('ChangePasswordTitle');
?>
</h1>
<table><td valign="top" spacing="5px"><img src="images/info.gif"></td><td><?php 
echo $words->getFormatted('ChangePasswordIntro');
?>
</td></table>
</div>


Exemplo n.º 12
0
            <p><?php 
echo $words->get("ThePeople_Text1");
?>
</p>
    
    </div>
   </div>

  <div class="c50r">
    <div class="subcr">
            <h3><?php 
echo $words->get("ThePeople_TitleInterviews");
?>
</h3>
            <p><?php 
echo $words->getFormatted('ThePeople_TextInterviews', '<a href="http://www.bevolunteer.org/wiki/Interviews">', '</a>');
?>
</p>
		  
    </div>
  </div>
</div>



<div class="floatbox" style="padding-top: 30px">
<p id="holder" style="border: 5px solid #999999; width: 500px; height: 333px; float: left">
<a href="#"><img src="http://farm3.static.flickr.com/2200/2204242456_f2a726c103.jpg"></a>
	<ul style="position: relative; right: 40px; top: 30px; width: 50px;">
        <li><a href="http://farm3.static.flickr.com/2200/2204242456_f2a726c103.jpg" class="button" rel="transition[slightright]">1</a></li>
        <li><a href="http://farm3.static.flickr.com/2275/2204241012_756d5234e6.jpg" class="button" rel="transition[slideright]">2</a></li>
Exemplo n.º 13
0
 public function teasermain()
 {
     $words = new MOD_words();
     $thumbPathMember = MOD_layoutbits::smallUserPic_userId($_SESSION['IdMember']);
     //$imagePathMember = MOD_user::getImage();
     // We will mark the fact the member has or has no picture here, this is based on the returned default picture et something
     if (strpos($thumbPathMember, "et_male.square") !== false or strpos($thumbPathMember, "et.square") !== false or strpos($thumbPathMember, "et_female.square") !== false) {
         $_SESSION['MemberHasNoPicture'] = 1;
     } else {
         if (isset($_SESSION['MemberHasNoPicture'])) {
             unset($_SESSION['MemberHasNoPicture']);
         }
     }
     $_newMessagesNumber = $this->_model->getNewMessagesNumber($_SESSION['IdMember']);
     if ($_newMessagesNumber > 0) {
         $_mainPageNewMessagesMessage = $words->getFormatted('MainPageNewMessages', $_newMessagesNumber);
     } else {
         $_mainPageNewMessagesMessage = $words->getFormatted('MainPageNoNewMessages');
     }
     require 'templates/teaser_main.php';
 }
Exemplo n.º 14
0
(at your option) any later version.
BW Rox is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/> or
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA  02111-1307, USA.
*/
$words = new MOD_words();
?>

    <div id="teaser" class="clearfix teaser_main">
        <h2><?php 
echo $words->getFormatted('HelloUsername', $_SESSION['Username']);
?>
</h2>
        <div class="subcolumns">
            <div class="c38l">
                <div class="subcl">
                    <div class="floatbox">
                        <img src="<?php 
echo $thumbPathMember;
?>
" id="MainUserpic" class="float_left" alt="ProfilePicture" style="margin-right: 10px;" />
                        <p>
                        <?php 
if (isset($_mainPageNewMessagesMessage)) {
    ?>
                            <a href="bw/mymessages.php"><img src="images/icons/icons1616/icon_contactmember.png" alt="Messages"/><?php 
Exemplo n.º 15
0
 /**
  * this function load the list of the polls with a certain status
  * @PollStatus is the statuis which allow to filter for the status of some poll
  **/
 function LoadList($PollStatus = "")
 {
     $words = new MOD_words();
     if (empty($PollStatus)) {
         $where = "";
     } else {
         $where = " where polls.Status='" . $PollStatus . "'";
     }
     $sQuery = "select polls.*,members.Username as 'CreatorUsername' from (polls) ";
     $sQuery .= " left join members on members.id=polls.IdCreator ";
     $sQuery .= " left join groups on groups.id=polls.IdGroupCreator ";
     $sQuery = $sQuery . $where . " order by polls.created desc";
     $tt = array();
     $qry = $this->dao->query($sQuery);
     if (!$qry) {
         throw new PException('polls::LLoadList Could not retrieve the polls!');
     }
     if (isset($_SESSION["IdMember"])) {
         $IdMember = $_SESSION["IdMember"];
     } else {
         $IdMember = 0;
     }
     // for all the records
     while ($rr = $qry->fetch(PDB::FETCH_OBJ)) {
         // If there is a group list, test if the current member is in the group list
         if (!$this->IsMemberAllowed($rr)) {
             continue;
             // Skip this record
         }
         if (!empty($rr->IdGroupCreator)) {
             // In case the polls is created by a group find back the name of this group
             $rGroup = $this->singleLookup("select * from groups where id=" . $rr->IdGroupCreator);
             $rr->GroupCreatorName = $words->getFormatted("Group_" . $rGroup->Name);
         }
         $rContrib = $this->singleLookup("select count(*) as cnt from polls_contributions where IdPoll=" . $rr->id);
         $rr->NbContributors = $rContrib->cnt;
         // This is the logic for the possible action (may be this could be better in the controller)
         $rr->PossibleActions = "<ul>";
         // Only owner of admin with proper right can update the poll
         if (isset($_SESSION["IdMember"]) and $rr->IdCreator == $_SESSION["IdMember"] and $rr->Status == "Projet" or MOD_right::get()->HasRight("Poll", "update")) {
             $rr->PossibleActions = $rr->PossibleActions . "<li><a href=\"polls/update/" . $rr->id . "\">" . $words->getFormatted("polls_adminlink") . "</a></li>";
         }
         if ($this->HasAlreadyContributed($rr->id, "", $_SESSION["IdMember"])) {
             $rr->PossibleActions = $words->getFormatted("polls_youhavealreadyvoted");
             if ($rr->CanChangeVote == "Yes" and $rr->Status == "Open") {
                 $rr->PossibleActions .= "<li<a href=\"polls/cancelvote/" . $rr->id . "\">" . $words->getFormatted("polls_remove_vote") . "</a></li>";
             }
             if ($rr->ResultsVisibility == "VisibleAfterVisit" and $rr->Status != "Closed") {
                 $rr->PossibleActions = $rr->PossibleActions . "<li><a href=\"polls/seeresults/" . $rr->id . "\">" . $words->getFormatted("polls_seeresults") . "</li>";
             }
         }
         if ($this->CanUserContribute($rr->id, "", $_SESSION["IdMember"])) {
             $rr->PossibleActions = $rr->PossibleActions . "<li><a href=\"polls/contribute/" . $rr->id . "\">" . $words->getFormatted("polls_contribute") . "</li>";
         }
         if ($rr->Status == "Closed") {
             $rr->PossibleActions .= "<li><a href=\"polls/results/" . $rr->id . "\">" . $words->getFormatted("polls_seeresults") . "</li>";
         }
         $rr->PossibleActions .= "</ul>";
         array_push($tt, $rr);
     }
     return $tt;
 }
Exemplo n.º 16
0
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/> or 
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 
Boston, MA  02111-1307, USA.
*/
$words = new MOD_words();
?>
<div id="tour">
    <h3><?php 
echo $words->get('tour_share');
?>
</h3>

    <h4><?php 
echo $words->getFormatted('tour_share_title1');
?>
</h4>
    <div class="floatbox" style="margin-top: 20px">
        <img src="images/tour/share4_small.jpg" class="framed float_left" style="margin-bottom: 20px; margin-right: 20px;" alt="share" />
        <p><?php 
echo $words->getFormatted('tour_share_text1');
?>
</p>
        
        <h4><?php 
echo $words->getFormatted('tour_share_title2');
?>
</h4>
        <p><?php 
echo $words->getFormatted('tour_share_text2');
Exemplo n.º 17
0
?>
<input type="hidden" id="osm-tiles-provider-base-url" value="<?php 
echo $map_conf->osm_tiles_provider_base_url;
?>
"/>
<input type="hidden" id="osm-tiles-provider-api-key" value="<?php 
echo $map_conf->osm_tiles_provider_api_key;
?>
"/>

<div id="teaser" class="clearfix">
	<div class="subcolumns">
    	<div class="c50l">
			<div class="subr">
    			<h1><a href="trip"><?php 
echo $words->getFormatted('tripsTitle');
?>
</a></h1>
        	</div>
    	</div> 
    	<div class="c50r" > 
        	<div class="subc">
            	<div id="searchteaser" >
                <form method="get" action="trip/search" class="float_right">
                    <input type="text" name="s" value="<?php 
echo htmlspecialchars($search, ENT_QUOTES);
?>
" />
                    <input class="button" type="submit" name="submit" value="<?php 
echo $words->getSilent('TripsSearch');
?>
Exemplo n.º 18
0
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA  02111-1307, USA.
*/
// get current request
$request = PRequest::get()->request;
if (!isset($vars['errors']) || !is_array($vars['errors'])) {
    $vars['errors'] = array();
}
$words = new MOD_words();
$styles = array('highlight', 'blank');
// alternating background for table rows
$iiMax = count($TMembers);
$purifier = MOD_htmlpure::getBasicHtmlPurifier();
?>
<p><?php 
echo $words->getFormatted("WeAreTotNumber", $TotMembers);
?>
</p>

<table class="full">
<?php 
if ($TMembers != false) {
    ?>
    <tr>
        <th><?php 
    echo $words->getFormatted("Username");
    ?>
</th>
        <th><?php 
    echo $words->getFormatted("Location");
    ?>
Exemplo n.º 19
0
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/> or 
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 
Boston, MA  02111-1307, USA.
*/
//$i18n = new MOD_i18n('apps/forums/board.php');
//$boardText = $i18n->getText('boardText');
$words = new MOD_words();
$can_del = false;
$can_edit_own = false;
$can_edit_foreign = false;
?>

<h2 id="forums_reply_title_lastposts"><?php 
echo $words->getFormatted('last_posts');
?>
</h2>
<p><?php 
echo $words->getFormatted('LastPostSubline');
?>
</p>

<?php 
// counting for background switch trick
$cntx = '1';
foreach ($topic->posts as $post) {
    $cnt = $cntx + 1;
    require 'singlepost.php';
    $cntx = $cnt;
}
Exemplo n.º 20
0
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/> or 
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 
Boston, MA  02111-1307, USA.
*/
$words = new MOD_words();
?>
<div id="tour">
    <h3><?php 
echo $words->get('tour_trips');
?>
</h3>
        
    <h4><?php 
echo $words->getFormatted('tour_trips_title1');
?>
</h4>
    <div class="floatbox">
        <img src="images/tour/trips-example.png" class="float_left" alt="trips" />
        <p><?php 
echo $words->getFormatted('tour_trips_text1');
?>
</p>
    </div>

    <h4><?php 
echo $words->getFormatted('tour_trips_title2');
?>
</h4>
    <p><?php 
Exemplo n.º 21
0
" /></a> <a href="trip/create" title="<?php 
    echo $words->getSilent('TripTitle_create');
    ?>
"><?php 
    echo $words->getSilent('TripTitle_create');
    ?>
</a><?php 
    echo $words->flushBuffer();
    ?>
</li>
          </ul>

            <?php 
    // ###   NEW   To be programmed: show the first visitor, then the second. !! Different div's (c50l, c50r)!  ###
    $next_trips = MOD_trips::get()->RetrieveVisitorsInCityWithAPicture($_SESSION['IdMember']);
    echo $next_trips ? '<h3>' . $words->getFormatted('RecentMemberCity') . '</h3>' : '';
    for ($ii = 0; $ii < count($next_trips); $ii++) {
        $m = $next_trips[$ii];
        $tripDate = explode(" ", $m->tripDate);
        ?>
                    <p class="floatbox UserpicFloated">
                        <?php 
        echo MOD_layoutbits::PIC_30_30($m->Username, '', $style = 'float_left framed');
        echo $words->flushBuffer();
        ?>
                        <?php 
        echo '<a href="members/' . $m->Username . '">' . $m->Username . '</a>';
        ?>
                        <br />
                        <?php 
        echo $m->city;
Exemplo n.º 22
0
        echo $words->fTrad($thread->IdTitle);
        ?>
</a><br />
                    <span class="small grey"><?php 
        echo $words->getSilent('by');
        ?>
 <a href="members/<?php 
        echo $thread->last_author;
        ?>
"><?php 
        echo $thread->last_author;
        ?>
</a>
                    <?php 
        if ($thread->IdGroup > 0 && $showGroups) {
            echo $words->getFormatted('in') . ' <a href="groups/' . $thread->IdGroup . '/" title="' . $words->getSilent('Group') . ": " . $thread->GroupName . '">' . MOD_layoutbits::truncate($thread->GroupName, 13);
        }
        ?>
                    <?php 
        echo '</a> - <span title="' . date($words->getSilent('DateHHMMShortFormat'), ServerToLocalDateTime($thread->last_create_time)) . '"><a href="' . $last_url . '" class="grey">' . $layoutbits->ago($thread->last_create_time) . '</a></span>';
        ?>
                    </span>
                    <a href="<?php 
        echo $last_url;
        ?>
"><img src="styles/css/minimal/images/iconsfam/bullet_go.png" alt="<?php 
        echo $words->getBuffered('to_last');
        ?>
" title="<?php 
        echo $words->getBuffered('to_last');
        ?>
Exemplo n.º 23
0
 /**
  * Returns a string with the gender if that isn't hidden. Translated of the
  * form 'Gender: male/female/other'
  *
  * @return string 'Gender: male/female/other/ translated or empty string
  */
 public static function getGenderTranslated($gender, $hideGender, $addGenderText = true)
 {
     $words = new MOD_words();
     $string = '';
     if ($hideGender == 'No' && $gender != 'IDontTell') {
         if ($addGenderText) {
             $string .= $words->getFormatted('Gender') . ": ";
         }
         if ($gender != 'other') {
             $string .= $words->getFormatted($gender);
         } else {
             $string .= $words->getFormatted('GenderOther');
         }
     }
     return $string;
 }
Exemplo n.º 24
0
Boston, MA  02111-1307, USA.
*/
// get current request
$request = PRequest::get()->request;
if (!isset($vars['errors']) || !is_array($vars['errors'])) {
    $vars['errors'] = array();
}
$words = new MOD_words();
$styles = array('highlight', 'blank');
// alternating background for table rows
$iiMax = count($list);
// This retrieve the list of the verifiers
?>

<p><?php 
echo $words->getFormatted("MemberHasVerificationLevel", "<a class=\"username\" href=\"members/" . htmlspecialchars($this->VerifierUsername, ENT_QUOTES) . "\">" . htmlspecialchars($this->VerifierUsername, ENT_QUOTES) . "</a>", "<strong>" . $words->getFormatted($VerificationMaxLevel) . "</strong>");
?>
</p>

<table class="full">
<?php 
if ($list != false) {
    ?>
    <tr>
        <th align="center"><?php 
    echo $words->getFormatted("Username");
    ?>
</th>
        <th align="center"><?php 
    echo $words->getFormatted("Location");
    ?>
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/> or
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA  02111-1307, USA.
*/
$words = $this->getWords();
$words = new MOD_words();
$styles = array('highlight', 'blank');
// alternating background for table rows
$iiMax = count($list);
// This retrieve the list of the verifierd
$purifier = MOD_htmlpure::getBasicHtmlPurifier();
?>
<p>
<?php 
echo $words->getFormatted("verifymembers_approvedverifiersexp", $words->getFormatted("verifymembers_VerifiedByApproved"), $words->getFormatted("verifymembers_VerifiedByVerified"), $words->getFormatted("verifymembers_VerifiedByNormal"));
?>
</p>

<table class="full">

<?php 
if ($list != false) {
    ?>
    <tr align="left">
        <th></th>
        <th><?php 
    echo $words->getFormatted("Username");
    ?>
</th>
        <th><?php 
Exemplo n.º 26
0
?>

<h2><?php 
echo $words->get('BoardOfDirectorsPage');
?>
</h2>
<div class="subcolumns">
  <div class="c50l">
    <div class="subcl">

    <h3><?php 
echo $words->get('BoD_WhatIs');
?>
</h3>
    <p><?php 
echo $words->getFormatted('BoD_WhatIsText', '<a href="/bw/feedback.php">', '</a>');
?>
</p>

<h3><?php 
echo $words->get('BoD_WorkingTogetherTitle');
?>
</h3>
<p><?php 
echo $words->get('BoD_WorkingTogetherText');
?>
</p>
    </div>
   </div>

  <div class="c50r">
Exemplo n.º 27
0
(at your option) any later version.
BW Rox is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/> or 
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 
Boston, MA  02111-1307, USA.
*/
$words = new MOD_words();
?>

<div id="forumrules">
    <h1><?php 
echo $words->getFormatted('ForumRulesShort');
?>
</h1>
    <h3><?php 
echo $words->getFormatted('ForumRulesCharterHeadline1');
?>
</h3>

    <h4><?php 
echo $words->getFormatted('ForumRulesCharterHeadline2');
?>
</h4>
    <ol>
      <li><?php 
echo $words->getFormatted('ForumRulesCharterText1');
?>
Exemplo n.º 28
0
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/> or 
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 
Boston, MA  02111-1307, USA.
*/
$styles = array('highlight', 'blank');
$words = new MOD_words();
?>

<table class="forumsboardthreads">

<tr>
    <th><?php 
echo $words->getFormatted('Thread');
?>
</th>
    <th><?php 
echo $words->getFormatted('Replies');
?>
</th>
    <th><?php 
echo $words->getFormatted('Author');
?>
</th>
    <th><?php 
echo $words->getFormatted('Views');
?>
</th>
    <th><?php 
Exemplo n.º 29
0
<div id="teaser" class="clearfix">

    <div class="float_right" style="padding-top: 1em">
        <form method="get" action="blog/search/" class="def-form" id="blog-search-form">
                <div id="search" class="row">
                    <input type="text" id="search-field" name="s" />
                    <input type="submit" value="Search" class="submit"<?php 
echo isset($submitName) && !empty($submitName) ? ' name="' . $submitName . '"' : '';
?>
 />
                </div>
        </form>
    </div>
<h1><a href="blog"><?php 
echo $words->getFormatted('blogs');
?>
</a></h1>
<?php 
$titleSetting = false;
/* TODO: Create a user-setting for a blog-title
$titleSetting = A PP_User::getSetting($userId, 'blog_title'); */
if ($userHandle) {
    if (!$titleSetting) {
        echo MOD_layoutbits::PIC_50_50($userHandle, '', $style = 'framed float_left');
        echo '<h1>' . $words->getFormatted('blogUserPublicTitle', $userHandle) . '</h1>';
    } else {
        echo '<h1>' . $titleSetting->value . '</h1>';
    }
}
echo $words->flushBuffer();
Exemplo n.º 30
0
    </div>
   </div>


  <div class="c50r">
    <div class="subcr">
<?php 
echo "<h3>", $words->get("AboutUs_HowOrganized"), "</h3>";
echo "<p>", $words->get("AboutUs_HowOrganizedText"), "</p>";
//Blog model to fetch the Community News
$Blog = new Blog();
$postIt = $Blog->getTaggedPostsIt('Community News for the frontpage', true);
$format = array('short' => $words->getSilent('DateFormatShort'));
?>
<h3 class="first" ><a href="blog/tags/Community News for the frontpage"><?php 
echo $words->getFormatted('CommunityNews');
?>
</a> <a href="rss/blog/tags/Community%20News%20for%20the%20frontpage"><img src="images/icons/feed.png" alt="<?php 
echo $words->getSilent('GetRSSFeed');
?>
"></a><?php 
echo $words->flushBuffer();
?>
</h3>
                <div class="floatbox">
                    <?php 
$i = 1;
foreach ($postIt as $blog) {
    $i++;
    if ($i <= 3) {
        $Blog = new Blog();