Beispiel #1
0
    function Fancy_Gallery_PHP53_Version_Warning()
    {
        ?>
    <div class="error">
      <p><?php 
        PrintF('<strong>%1$s:</strong> You need at least <strong>PHP 5.3</strong> or higher to use %1$s. You have PHP %2$s installed. Please ask your hoster for an upgrade.', 'Fancy Gallery', PHP_VERSION);
        ?>
</p>
    </div><?php 
    }
Beispiel #2
0
    public function Print_Options_Page()
    {
        ?>
    <div class="wrap">
      <h1><?php 
        echo I18n::t('Fancy Gallery Settings');
        ?>
</h1>

      <?php 
        if (isset($_GET['options_saved'])) {
            ?>
      <div id="message" class="updated fade">
        <p><strong><?php 
            _e('Settings saved.');
            ?>
</strong></p>
      </div>
      <?php 
        }
        ?>

      <?php 
        if (isset($_GET['template_installed'])) {
            ?>
      <div id="message" class="updated fade">
        <p><strong><?php 
            echo I18n::t('Template installed.');
            ?>
</strong></p>
      </div>
      <?php 
        }
        ?>

      <?php 
        if (isset($_GET['template_deleted'])) {
            ?>
      <div id="message" class="updated fade">
        <p><strong><?php 
            echo I18n::t('Template deleted.');
            ?>
</strong></p>
      </div>
      <?php 
        }
        ?>

      <form method="post" action="" enctype="multipart/form-data">
      <div class="metabox-holder">
        <div class="postbox-container left meta-box-sortables">
          <?php 
        foreach ($this->arr_option_box['main'] as $box) {
            ?>
          <div class="postbox should-be-<?php 
            echo $box['state'];
            ?>
">
            <button type="button" class="handlediv button-link" aria-expanded="true">
              <span class="screen-reader-text"><?php 
            PrintF(I18n::t('Toggle panel: %s'), $box['title']);
            ?>
</span>
              <span class="toggle-indicator" aria-hidden="true"></span>
            </button>
            <h3 class="hndle"><span><?php 
            echo $box['title'];
            ?>
</span></h3>
            <div class="inside"><?php 
            include $box['file'];
            ?>
</div>
          </div>
          <?php 
        }
        ?>
        </div>

        <div class="postbox-container right meta-box-sortables">
          <?php 
        foreach ($this->arr_option_box['side'] as $box) {
            ?>
          <div class="postbox should-be-<?php 
            echo $box['state'];
            ?>
">
            <button type="button" class="handlediv button-link" aria-expanded="true">
              <span class="screen-reader-text"><?php 
            PrintF(I18n::t('Toggle panel: %s'), $box['title']);
            ?>
</span>
              <span class="toggle-indicator" aria-hidden="true"></span>
            </button>
            <h3 class="hndle"><span><?php 
            echo $box['title'];
            ?>
</span></h3>
            <div class="inside"><?php 
            include $box['file'];
            ?>
</div>
          </div>
          <?php 
        }
        ?>
        </div>
      </div>

      <p class="submit">
        <input type="submit" class="button-primary" value="<?php 
        _e('Save Changes');
        ?>
">
      </p>

      </form>
    </div>
    <?php 
    }
Beispiel #3
0
			<TD width=16 class="bg_light middle">
				<A name="<?Print $row['nick'];?>"><IMG src="img/<?Print $image?>" width=16 height=16></A>
			<?IF($browser != "Mozilla") {Print "</TD>";}?>
			
			<TD width=16 class="bg_light middle">
				<?IF($register_class[$row['class']] <= USR_CLASS && $row['class_protect'] <= USR_CLASS) {?>
					<A href="index.php?<?Print Change_URL_Query("q", "addreg", "nick", $row['nick']);?>" title="<?Print $text_edit_user;?>">
						<IMG src="img/edit_off.gif" width=16 height=16 id="<?Print "edit_".$row['nick'];?>" onMouseOver="ChangeImg('<?Print "edit_".$row['nick'];?>', 'img/edit_on.gif');" onMouseOut="ChangeImg('<?Print "edit_".$row['nick'];?>', 'img/edit_off.gif');">
					</A>
					<?}
				ELSE {?><IMG src="img/space.gif" width=16 height=16><?}
			IF($browser != "Mozilla") {Print "</TD>";}?>
			
			<TD width=16 class="bg_light middle">
				<?IF(($row['class'] < USR_CLASS || USR_CLASS == 10) && !$row['pwd_change'] && USR_CLASS > 2 && $row['class_protect'] <= USR_CLASS)
					{?><A href="index.php?<?Print Change_URL_Query("q", "repass", "nick", $row['nick']);?>" title="<?Print $text_change_password;?>" onClick="return ConfirmLink(this, '<?PrintF($text_pwd_change_confirm."?", $row['nick']);?>')">
						<IMG src="img/repass.gif" class="b0" width=16 height=16>
					</A><?}
				ELSE{?><IMG src="img/space.gif" width=16 height=16><?}?>
			<?IF($browser != "Mozilla") {Print "</TD>";}?>
	
			<TD width=16 class="bg_light middle">
				<A href="index.php?<?Print "q=sendmsg&receiver=".$row['nick'];?>" title="<?Print $text_send_msg;?>">
					<IMG src="img/messanger_off.gif" width=16 height=16 id="<?Print "sendmsg_".$row['nick'];?>" onMouseOver="ChangeImg('<?Print "sendmsg_".$row['nick'];?>', 'img/messanger_on.gif');" onMouseOut="ChangeImg('<?Print "sendmsg_".$row['nick'];?>', 'img/messanger_off.gif');">
			<?IF($browser != "Mozilla") {Print "</TD>";}?>
	
			<TD width=16 class="bg_light middle">
	<?			IF($row['enabled']) {
					IF($disable_class[$row['class']] <= USR_CLASS && $row['class_protect'] <= USR_CLASS)
						{?><A href="index.php?<?Print Change_URL_Query("q", "delreg", "nick", $row['nick'])?>" title="<?Print $text_disable_user;?>" onClick="return ConfirmLink(this, '<?Print $text_disreg_confirm." ".$row['nick']."?";?>')"><IMG src="img/disable.gif" class="b0" width=16 height=16></A><?}
					ELSE{?><IMG src="img/space.gif" width=16 height=16><?}
    function Print_Taxonomy_Archive_Urls($tag, $taxonomy)
    {
        $taxonomy = Get_Taxonomy($taxonomy);
        $archive_url = Get_Term_Link(get_term($tag->term_id, $taxonomy->name));
        $archive_feed = Get_Term_Feed_Link($tag->term_id, $taxonomy->name);
        ?>
    <tr class="form-field">
      <th scope="row" valign="top"><?php 
        echo I18n::t('Archive Url');
        ?>
</th>
      <td>
        <a href="<?php 
        echo $archive_url;
        ?>
" target="_blank"><?php 
        echo $archive_url;
        ?>
</a><br>
        <span class="description"><?php 
        PrintF(I18n::t('This is the URL to the archive of this %s.'), $taxonomy->labels->singular_name);
        ?>
</span>
      </td>
    </tr>
    <tr class="form-field">
      <th scope="row" valign="top"><?php 
        echo I18n::t('Archive Feed');
        ?>
</th>
      <td>
        <a href="<?php 
        echo $archive_feed;
        ?>
" target="_blank"><?php 
        echo $archive_feed;
        ?>
</a><br>
        <span class="description"><?php 
        PrintF(I18n::t('This is the URL to the feed of the archive of this %s.'), $taxonomy->labels->singular_name);
        ?>
</span>
      </td>
    </tr>
    <?php 
    }
Beispiel #5
0
	<TR>
		<TD class="bg_light">&nbsp;&nbsp;<?Print $row['Name'];?>&nbsp;&nbsp;</TD>
		<TD class="bg_light right">&nbsp;&nbsp;<?Print Number_Format($row['Rows']);?>&nbsp;&nbsp;</TD>
		<TD class="bg_light right">&nbsp;&nbsp;<?Print RoundShare($row['Data_length'] + $row['Index_length']);?>&nbsp;&nbsp;</TD>
		<TD class="bg_light right<?IF($row['Data_free']){Print " red";}?>">&nbsp;&nbsp;<?Print RoundShare($row['Data_free']);?>&nbsp;&nbsp;</TD>
		<TD class="bg_light" colspan=2>
			&nbsp;&nbsp;
			<?IF(USR_CLASS == 10)
				{?><A href="index.php?q=optimize&c=optimize&table=<?Print $row['Name'];?>" onClick="return ConfirmLink(this, '<?PrintF($text_tb_optimize." ?", $row['Name']);?>')"><?Print $text_optimize;?></A><?}
			ELSE {Print $text_optimize;}?>
			&nbsp;&nbsp;
		</TD>
		<TD class="bg_light">
			&nbsp;&nbsp;
			<?IF(USR_CLASS == 10)
				{?><A href="index.php?q=optimize&c=truncate&table=<?Print $row['Name'];?>" onClick="return ConfirmLink(this, '<?PrintF($text_tb_truncate." ?", $row['Name']);?>')"><?Print $text_truncate;?></A><?}
			ELSE {Print $text_truncate;}?>
			&nbsp;&nbsp;
		</TD>
	</TR>
	<?}?>
	<TR>
		<TD class="bg_light b">&nbsp;&nbsp;<?Print $text_total;?>&nbsp;&nbsp;</TD>
		<TD class="bg_light b right">&nbsp;&nbsp;<?Print Number_Format($total_rows);?>&nbsp;&nbsp;</TD>
		<TD class="bg_light b right">&nbsp;&nbsp;<?Print RoundShare($total_size);?>&nbsp;&nbsp;</TD>
		<TD class="bg_light b right<?IF($total_overhead){Print " red";}?>">&nbsp;&nbsp;<?Print RoundShare($total_overhead);?>&nbsp;&nbsp;</TD>
		<TD class="bg_light" colspan=2>&nbsp;</TD>
		<TD class="bg_light">&nbsp;</TD>
	</TR><TR>
		<TD class="bg_light b center" colspan=7><?Print $text_mysql_status;?></TD>
	</TR>
Beispiel #6
0
<?php

if (!$this->Get('deactivate_archive')) {
    ?>
<p>
  <?php 
    PrintF($this->t('The Archive link for your Galleries is: <div><a href="%1$s" target="_blank">%1$s</a></div>'), Get_Post_Type_Archive_Link($this->core->gallery_post_type->name));
    ?>
</p>
<p>
  <?php 
    PrintF($this->t('The Archive Feed for your Galleries is: <div><a href="%1$s" target="_blank">%1$s</a></div>'), Get_Post_Type_Archive_Feed_Link($this->core->gallery_post_type->name));
    ?>
</p>
<?php 
}
?>

<h4><?php 
echo $this->t('Deactivate Archive');
?>
</h4>
<p>
  <input type="checkbox" name="deactivate_archive" id="deactivate_archive" value="yes" <?php 
Checked($this->Get('deactivate_archive'), 'yes');
?>
>
  <label for="deactivate_archive"><?php 
echo $this->t('Deactivate the archive feature.');
?>
</label><br>
Beispiel #7
0
<?php

namespace WordPress\Plugin\Glossary;

?>
<p>
  <?php 
PrintF(I18n::t('The Archive link for your Glossary is: <a href="%1$s" target="_blank">%1$s</a>'), Get_Post_Type_Archive_Link(Post_Type::$post_type_name));
?>
</p>
<p>
  <?php 
PrintF(I18n::t('The Archive Feed for your Glossary is: <a href="%1$s" target="_blank">%1$s</a>'), Get_Post_Type_Archive_Feed_Link(Post_Type::$post_type_name));
?>
</p><?php 
Beispiel #8
0
        function Print_Contribution_Message()
        {
            if (Count($this->Get_Extension_Names()) == 0) {
                return False;
            }
            global $current_user;
            get_currentuserinfo();
            $arr_extension = $this->Get_Extension_Names();
            if (File_Exists(DirName(__FILE__) . '/contribution.png')) {
                ?>
 <img src="<?php 
                echo $this->base_url;
                ?>
/contribution.png" class="alignright" style="margin-left:10px" /> <?php 
            }
            ?>
 <div style="text-align:justify"> <?php 
            if ($this->is_dashboard) {
                ?>
<h4><?php 
            } else {
                ?>
<h3><?php 
            }
            ?>
 <?php 
            PrintF($this->t('Hello %1$s!'), $current_user->display_name);
            ?>
</h4> <?php 
            if ($this->is_dashboard) {
                ?>
</h4><?php 
            } else {
                ?>
</h3><?php 
            }
            ?>
 <?php 
            if (Count($arr_extension) == 1) {
                ?>
 <p> <?php 
                PrintF($this->t('Thank you for using my WordPress plugin %s.'), $arr_extension[0]);
                ?>
 <?php 
                echo $this->t('I am sure you will enjoy the new features and you will surely find out fast that this plugin is very useful for you.');
                ?>
 <p> <p> <?php 
                echo $this->t('You can use and test it without any limitation of functionality or availability for your personal purposes.');
                ?>
 </p> <?php 
            } else {
                ?>
 <p> <?php 
                PrintF($this->t('Thank you for using %1$s of my WordPress plugins: %2$s.'), $this->Number_to_Word(Count($arr_extension)), $this->Extended_Implode($arr_extension, ', ', ' ' . $this->t('and') . ' '));
                ?>
 <?php 
                echo $this->t('I am sure you will enjoy the new features and you will surely find out fast that these plugins are very useful for you.');
                ?>
 </p> <p> <?php 
                echo $this->t('You can use and test these plugins without any limitation of functionality or availability for your personal purposes.');
                ?>
 </p> <?php 
            }
            ?>
 <p> <?php 
            echo $this->t('But please make a contribution in order to support that my plugins can be developed further more.');
            ?>
 <small><?php 
            echo $this->t('... <em>and to remove this Notification!</em>');
            ?>
</small> </p> <p> (<small><?php 
            PrintF($this->t('If you have already donated in the past and lost your voucher please %sdrop me a line%s.'), '<a href="http://dennishoppe.de/contribution-voucher-code" target="_blank">', '</a>');
            ?>
</small>) </p> </div> <ul> <li><?php 
            echo $this->t('Make a gift of the Amazon Wish List');
            ?>
: <ul> <li>&raquo; <a href="http://amzn.com/w/1A45MS7KY75CY" title="<?php 
            echo $this->t('Amazon USA');
            ?>
" target="_blank"><?php 
            echo $this->t('Amazon USA');
            ?>
</a></li> <li>&raquo; <a href="http://www.amazon.de/wishlist/2AG0R8BHEOJOL" title="<?php 
            echo $this->t('Amazon Germany');
            ?>
" target="_blank"><?php 
            echo $this->t('Amazon Germany');
            ?>
</a></li> </ul> </li> <li class="hide_if_js"><?php 
            echo $this->t('Make a contribution via PayPal');
            ?>
: <ul> <li>&raquo; <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=1220480" target="_blank">United States dollar ($)</a></li> <li>&raquo; <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=U49F54BMWKNHU" target="_blank">Pound sterling (&pound;)</a></li> <li>&raquo; <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=HECSPGLPTQL24" target="_blank">Euro (&euro;)</a></li> </ul> </li> <li class="show_if_js" style="display:none"><?php 
            echo $this->t('Make a contribution via PayPal');
            ?>
: <ul> <li>&raquo; <a href="#" title="<?php 
            echo $this->t('Make a contribution in US Dollars');
            ?>
" class="dennis_hoppe_contribution_show_ui">United States Dollar ($)</a> <div class="dennis_hoppe_contribution_ui"> <?php 
            echo $this->t('Amount');
            ?>
: <input type="hidden" class="dennis_hoppe_contribution_currency" value="USD" /> <select class="dennis_hoppe_contribution_amount"> <option value="" disabled="disabled" selected="selected"><?php 
            echo $this->t('Amount in USD');
            ?>
</option> <?php 
            for ($amount = 6.95; $amount < 100; $amount *= 1.3) {
                ?>
 <option value="<?php 
                echo Number_Format($amount, 2, '.', '');
                ?>
">US$<?php 
                echo Number_Format($amount, 2);
                ?>
</option> <?php 
            }
            ?>
 </select> <input type="button" class="dennis_hoppe_contribution_button button-primary" value="<?php 
            echo $this->t('Proceed to PayPal');
            ?>
 &rarr;" title="<?php 
            echo $this->t('Proceed to PayPal');
            ?>
" disabled="disabled" /> </div> </li> <li>&raquo; <a href="#" title="<?php 
            echo $this->t('Make a contribution in Pound sterling');
            ?>
" class="dennis_hoppe_contribution_show_ui">Pound Sterling (&pound;)</a> <div class="dennis_hoppe_contribution_ui hide_if_js"> <?php 
            echo $this->t('Amount');
            ?>
: <input type="hidden" class="dennis_hoppe_contribution_currency" value="GBP" /> <select class="dennis_hoppe_contribution_amount"> <option value="" disabled="disabled" selected="selected"><?php 
            echo $this->t('Amount in GBP');
            ?>
</option> <?php 
            for ($amount = 5.95; $amount < 100; $amount *= 1.3) {
                ?>
 <option value="<?php 
                echo Number_Format($amount, 2, '.', '');
                ?>
">&pound;<?php 
                echo Number_Format($amount, 2);
                ?>
</option> <?php 
            }
            ?>
 </select> <input type="button" class="dennis_hoppe_contribution_button button-primary" value="<?php 
            echo $this->t('Proceed to PayPal');
            ?>
 &rarr;" title="<?php 
            echo $this->t('Proceed to PayPal');
            ?>
" disabled="disabled" /> </div> </li> <li>&raquo; <a href="#" title="<?php 
            echo $this->t('Make a contribution in Euro');
            ?>
" class="dennis_hoppe_contribution_show_ui">Euro (&euro;)</a> <div class="dennis_hoppe_contribution_ui hide_if_js"> <?php 
            echo $this->t('Amount');
            ?>
: <input type="hidden" class="dennis_hoppe_contribution_currency" value="EUR" /> <select class="dennis_hoppe_contribution_amount"> <option value="" disabled="disabled" selected="selected"><?php 
            echo $this->t('Amount in EUR');
            ?>
</option> <?php 
            for ($amount = 5.95; $amount < 100; $amount *= 1.3) {
                ?>
 <option value="<?php 
                echo Number_Format($amount, 2, '.', '');
                ?>
"><?php 
                echo Number_Format($amount, 2, ',', '');
                ?>
&euro;</option> <?php 
            }
            ?>
 </select> <input type="button" class="dennis_hoppe_contribution_button button-primary" value="<?php 
            echo $this->t('Proceed to PayPal');
            ?>
 &rarr;" title="<?php 
            echo $this->t('Proceed to PayPal');
            ?>
" disabled="disabled" /> </div> </li> <li>&raquo; <a href="#" title="<?php 
            echo $this->t('Make a contribution in another currency');
            ?>
" class="dennis_hoppe_contribution_show_ui"><?php 
            echo $this->t('Other currency');
            ?>
</a> <div class="dennis_hoppe_contribution_ui hide_if_js"> <input type="hidden" class="dennis_hoppe_contribution_amount" value="" /> <select class="dennis_hoppe_contribution_currency"> <option value="" disabled="disabled" selected="selected"><?php 
            echo $this->t('International currency');
            ?>
</option> <option value="CAD">Dollar canadien (C$)</option> <option value="JPY">Yen (&yen;)</option> <option value="AUD">Australian dollar (A$)</option> <option value="CHF">Franken (SFr)</option> <option value="NOK">Norsk krone (kr)</option> <option value="SEK">Svensk krona (kr)</option> <option value="DKK">Dansk krone (kr)</option> <option value="PLN">Polski zloty</option> <option value="HUF">Magyar forint (Ft)</option> <option value="CZK">koruna česká (Kč)</option> <option value="SGD">Ringgit Singapura (S$)</option> <option value="HKD">Hong Kong dollar (HK$)</option> <option value="ILS">שקל חדש (₪)</option> <option value="MXN">Peso mexicano (Mex$)</option> <option value="NZD">Tāra o Aotearoa (NZ$)</option> <option value="PHP">Piso ng Pilipinas (piso)</option> <option value="TWD">New Taiwan dollar (NT$)</option> </select> <input type="button" class="dennis_hoppe_contribution_button button-primary" value="<?php 
            echo $this->t('Proceed to PayPal');
            ?>
 &rarr;" title="<?php 
            echo $this->t('Proceed to PayPal');
            ?>
" disabled="disabled" /> </div> </li> </ul> </li> </ul> <?php 
            if ($this->is_dashboard && current_user_can('activate_plugins')) {
                ?>
 <div class="remove-notification" style="text-align:right"> <form action="<?php 
                echo Admin_Url('plugins.php');
                ?>
" method="post"> <input type="hidden" name="action" value="deactivate-selected"> <?php 
                WP_Nonce_Field('bulk-plugins');
                ?>
 <?php 
                foreach ($this->Get_Extension_Files() as $plugin_file) {
                    ?>
 <input type="hidden" name="checked[]" value="<?php 
                    echo $plugin_file;
                    ?>
"> <?php 
                }
                ?>
 <p> <input type="submit" value="<?php 
                echo $this->t('No thanks. Remove this box now!');
                ?>
" class="button"> </p> </form> </div> <?php 
            }
            ?>
 <div class="clear"></div><?php 
        }
Beispiel #9
0
        function print_message()
        {
            // Read current user
            global $current_user;
            get_currentuserinfo();
            // Array which contains all my extensions
            $arr_extension = array();
            // Read the active plugins
            foreach (get_option('active_plugins') as $plugin) {
                $plugin_data = get_plugin_data(WP_PLUGIN_DIR . '/' . $plugin);
                if (StrPos(StrToLower($plugin_data['Author']), 'dennis hoppe') !== False) {
                    $arr_extension[] = $plugin_data['Title'];
                }
            }
            // Read the current theme
            if (StrPos(StrToLower(current_theme_info()->author), 'dennis hoppe') !== False) {
                $arr_extension[] = $this->t('the theme') . ' ' . current_theme_info()->title;
            }
            // Write the Dashboard message
            ?>
<img src="http://www.gravatar.com/avatar/d50a70b7a2e91bb31e8f00c13149f059?s=100" class="alignright" alt="Dennis Hoppe" height="100" width="100" style="margin:0 0 3px 10px;" />
    
    <div style="text-align:justify">    
      <h4><?php 
            PrintF($this->t('Hello %1$s!'), $current_user->display_name);
            ?>
</h4>
      
      <p>
        <?php 
            echo $this->t('My name is Dennis Hoppe and I am a computer science student working and living in Berlin, Germany.');
            ?>
        <?php 
            PrintF($this->t('Beside other plugins and themes I developed %1$s.'), $this->Extended_Implode($arr_extension, ', ', ' ' . $this->t('and') . ' '));
            ?>
        <?php 
            echo $this->t('I love the spirit of the open source movement, to write and share code and knowledge, but I think the system can work only if everyone contributes one\'s part properly.');
            ?>
      
      </p>
      
      <p>
        <?php 
            PrintF($this->t('Because you are using %1$s of my WordPress extensions I hope you will appreciate my job.'), $this->Number_to_Word(Count($arr_extension)));
            ?>
        <?php 
            echo $this->t('So please think about a donation. You would also help to keep alive and growing the community.');
            ?>
      </p>

    </div>
    
    <ul>
      <li><?php 
            echo $this->t('Make a gift of the Amazon Wish List');
            ?>
:
        <ul>
          <li>&raquo; <a href="http://amzn.com/w/1A45MS7KY75CY" target="_blank"><?php 
            echo $this->t('Amazon USA');
            ?>
</a></li>
          <li>&raquo; <a href="http://www.amazon.de/wishlist/2AG0R8BHEOJOL" target="_blank"><?php 
            echo $this->t('Amazon Germany');
            ?>
</a></li>
        </ul>
      </li>
      
      <li class="hide_if_js">&raquo; <?php 
            echo $this->t('Make a donation via PayPal:');
            ?>
        <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=1220480" target="_blank"><?php 
            echo $this->t('U$ Dollars');
            ?>
</a> |
        <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=HECSPGLPTQL24" target="_blank"><?php 
            echo $this->t('&euro;uro');
            ?>
</a>
      </li>
      <li class="show_if_js" style="display:none"><?php 
            echo $this->t('Make a donation via PayPal');
            ?>
:
        <ul>
          <li>&raquo; U$ Dollar:
            <input type="hidden" class="dennis_hoppe_donation_currency" value="USD" />
            <select class="dennis_hoppe_donation_amount">
              <option value="" disabled="disabled" selected="selected"><?php 
            echo $this->t('Amount in USD');
            ?>
</option>
              <!--
              <option value="104.37">$104.37</option>
              <option value="83.56">$83.56</option>
              <option value="62.75">$62.75</option>
              -->
              <option value="52.34">$52.34</option>
              <option value="41.94">$41.94</option>
              <option value="31.53">$31.53</option>
              <option value="21.12">$21.12</option>
              <option value="15.92">$15.92</option>
              <option value="10.72">$10.72</option>
              <option value="5.52">$5.52</option>
              <option value="">&raquo; <?php 
            echo $this->t('other amount');
            ?>
</option>
            </select>
            <input type="button" class="dennis_hoppe_donation_button button-primary" value="<?php 
            echo $this->t('Proceed to PayPal');
            ?>
 &rarr;" disabled="disabled" />
          </li>
          <li>&raquo; &euro;uro:
            <input type="hidden" class="dennis_hoppe_donation_currency" value="EUR" />
            <select class="dennis_hoppe_donation_amount">
              <option value="" disabled="disabled" selected="selected"><?php 
            echo $this->t('Amount in EUR');
            ?>
</option>
              <!--
              <option value="102.29">102,29 &euro;</option>
              <option value="81.91">81,91 &euro;</option>
              <option value="61.52">61,52 &euro;</option>
              -->
              <option value="51.33">51,33 &euro;</option>
              <option value="41.13">41,13 &euro;</option>
              <option value="30.94">30,94 &euro;</option>
              <option value="20.74">20,74 &euro;</option>
              <option value="15.65">15,65 &euro;</option>
              <option value="10.55">10,55 &euro;</option>
              <option value="5.45">5,45 &euro;</option>
              <option value="">&raquo; <?php 
            echo $this->t('other amount');
            ?>
</option>
            </select>
            <input type="button" class="dennis_hoppe_donation_button button-primary" value="<?php 
            echo $this->t('Proceed to PayPal');
            ?>
 &rarr;" disabled="disabled" />
          </li>
        </ul>
      </li>
    </ul>
    
    <p><?php 
            echo $this->t('After donation you will possibly get to know how you can hide this notice easily. ;)');
            ?>
</p>
    
    <div class="clear"></div><?php 
        }
Beispiel #10
0
" title="<?php 
    echo Esc_Attr($image->title);
    ?>
" class="<?php 
    echo Esc_Attr($this->gallery->attributes->link_class);
    ?>
"  data-caption="<?php 
    echo Esc_Attr($image->caption);
    ?>
" data-description="<?php 
    echo Esc_Attr($image->description);
    ?>
">
        <img <?php 
    foreach ($image->attributes as $attribute => $value) {
        PrintF('%s="%s" ', $attribute, Esc_Attr($value));
    }
    ?>
 >
      </a>
    </div>

    <?php 
    /* If (!Empty($image->caption)): ?>
       <figcaption class="wp-caption-text gallery-caption"><?php Echo WPTexturize($image->caption) ?></figcaption>
       <?php EndIf */
    ?>

  </figure>
  <?php 
}
Beispiel #11
0
	Die();
	}
ELSEIF(IsSet($_POST['no'])) {
	Header("Location: index.php?".Change_URL_Query("q", "reglist", "nick", "")."#".$_GET['nick']);
	Die();
	}
?>

<FONT class="h2"><?Print $text_pwd_change;?></FONT>

<BR><BR>

<FORM action="index.php?<?Print $_SERVER['QUERY_STRING'];?>" method="post">
<TABLE class="b1 fs12px" width=350>
	<TR>
		<TD class="bg_light center" height=60 width=50>
			<IMG src="img/help.gif" height=32 width=32>
		</TD>
		<TD class="bg_light b center">
			<?PrintF($text_pwd_change_confirm." ?", $_GET['nick']);?>
		</TD>
	</TR>
	<TR>
		<TD class="bg_light right" colspan=2>
			<INPUT class="w75px" name="yes" type="submit" value="<?Print $text_yes;?>">
			<INPUT class="w75px" name="no" type="submit" value="<?Print $text_no;?>">
		</TD>
	</TR>
</TABLE>
</FONT>
Beispiel #12
0
 function html_link($action, $dir = '', $file = '', $caption)
 {
     PrintF('<a href="%1$s" title="%2$s">%2$s</a>', HTMLSpecialChars($this->build_link($action, $dir, $file)), $caption);
 }
Beispiel #13
0
	Header("Location: index.php");
	Die();
	}
?>

<FONT class="h2"><?Print $text_tb_optimalization;?></FONT>

<BR><BR>

<FORM action="index.php?<?Print $_SERVER['QUERY_STRING'];?>" method="post">
<TABLE width=300 class="b1 fs9px">
	<TR>
		<TD class="bg_light center" height=50 width=50>
			<IMG height=32 src="img/help.gif" width=32>
		</TD>
		<TD class="bg_light b center">
<?			IF($_GET['c'] == "optimize")
				{PrintF($text_tb_optimize." ?", $_GET['table']);}
			ELSE
				{PrintF($text_tb_truncate." ?", $_GET['table']);}?>
		</TD>
	</TR>
	<TR>
		<TD align="right" colspan=2 class="bg_light">
			<INPUT class="w75px" name="yes" type="submit" value="<?Print $text_yes;?>">
			<INPUT class="w75px" name="no" type="submit" value="<?Print $text_no;?>">
		</TD>
	</TR>
</TABLE>
</FONT>
    echo $image->ID;
    ?>
">
	<?php 
    echo wp_get_attachment_image($image->ID);
    ?>
	<div class="details">
		<div class="name"><?php 
    PrintF($this->t('Image: "%s"'), $image->post_title);
    ?>
</div>
		<?php 
    if ($image->parent) {
        ?>
		<div class="post"><?php 
        PrintF($this->t('Belongs to %s: "%s"'), $image->parent->type->labels->singular_name, '<a href="' . $image->parent->link . '" target="_blank">' . $image->parent->title . '</a>');
        ?>
</div>
		<?php 
    } else {
        ?>
		<div class="post"><?php 
        echo $this->t('Not attached to a post.');
        ?>
</div>
		<?php 
    }
    ?>
		<div class="ajax-loader hidden"><img src="<?php 
    echo Admin_Url('images/loading.gif');
    ?>
Beispiel #15
0
echo $this->gallery->id;
?>
">
  <a href="<?php 
echo $thumb->href;
?>
" title="<?php 
echo HTMLSpecialChars($thumb->title);
?>
" class="<?php 
echo $this->gallery->attributes->link_class;
?>
">
     <img <?php 
foreach ($thumb->attributes as $attribute => $value) {
    PrintF('%s="%s" ', $attribute, HTMLSpecialChars(Strip_Tags($value)));
}
?>
 >
  </a>
  <?php 
foreach ($this->gallery->images as $image) {
    ?>
    <a href="<?php 
    echo $image->href;
    ?>
" title="<?php 
    echo HTMLSpecialChars($image->title);
    ?>
"></a>
  <?php 
Beispiel #16
0
    echo I18n::t('Delete this template');
    ?>
" class="delete-link"><?php 
    echo I18n::t('Delete');
    ?>
</a></small>)
    <?php 
    if ($properties['description']) {
        ?>
<br><?php 
        echo $properties['description'];
    }
    ?>
<br>
    <small><?php 
    PrintF(I18n::t('Found in <em>%s</em>.'), SubStr($properties['file'], StrLen(ABSPATH)));
    ?>
</small>
  </li>
  <?php 
}
?>
</ol>


<h4><?php 
echo I18n::t('Install a template in ZIP format');
$this->core->mocking_bird->Pro_Notice('unlock');
?>
</h4>
<p><?php 
Beispiel #17
0
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

VerliAdmin 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 VerliAdmin; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

$script_start = GetMicroTime($script_start);
$script_end = GetMicroTime();
$scrpt_time = Round($script_end - $script_start, 4);

StoreQueries($DB_hub);
?>

<BR>
<TABLE class="footer">
	<TR>
		<TD class="left" nowrap><?PrintF("<FONT class=\"b\">".$text_page_time."</FONT>", $scrpt_time);?></TD>
		<?IF(MySQL == "MySQL"){?><TD class="left" nowrap><?Print "<FONT class=\"b\">".$text_queries."</FONT> : ".($DB_hub->mysql_queries * 1)." / ".Number_Format($_COOKIE['queries']);?></TD><?}?>
		<TD class="right b" nowrap><A href="http://bohyn.czechweb.cz/" title="bohyn.czechweb.cz">VerliAdmin v<?Print VA_VERSION;?></A>, &copy; by <A href="mailto:support@verliadmin.wz.cz">bohyn</A>&nbsp;&nbsp;</TD>
	</TR>
</TABLE>

<BR><BR>
Beispiel #18
0
        <?php 
}
?>
      </div>

      <div class="postbox-container right meta-box-sortables">
        <?php 
foreach (Options::$arr_option_box['side'] as $box) {
    ?>
          <div class="postbox should-be-<?php 
    echo $box->state;
    ?>
">
            <button type="button" class="handlediv button-link" aria-expanded="true">
              <span class="screen-reader-text"><?php 
    PrintF(I18n::t('Toggle panel: %s'), $box->title);
    ?>
</span>
              <span class="toggle-indicator" aria-hidden="true"></span>
            </button>
            <h2 class="hndle"><span><?php 
    echo $box->title;
    ?>
</span></h2>
            <div class="inside"><?php 
    include $box->file;
    ?>
</div>
          </div>
        <?php 
}
    echo $this->t('Delete this template');
    ?>
" class="delete-link"><?php 
    echo $this->t('Delete');
    ?>
</a></small>)
    <?php 
    if ($properties['description']) {
        ?>
<br /><?php 
        echo $properties['description'];
    }
    ?>
<br />
    <small><?php 
    PrintF($this->t('Found in <em>%s</em>.'), $properties['file']);
    ?>
</small>
  </li>
  <?php 
}
?>
</ol>


<h4><?php 
echo $this->t('Install a template in ZIP format');
?>
</h4>
<p><?php 
echo $this->t('If you have a template as a .zip archive, you may install it by uploading it here.');