Пример #1
0
 public static function setSessionValues($session_values = array())
 {
     self::$session_values = $session_values;
 }
Пример #2
0
					<?php 
if ($item_id) {
    ?>
						<a href="<?php 
    echo GzNewsUtils::getActionDeleteUrl($item_id);
    ?>
&from_form=1" class="btn btn-red newsDeleteBtn" onclick="return confirm('<?php 
    _e('Do you really want to delete this new?', 'gz_news');
    ?>
');"><?php 
    _e('Delete', 'gz_news');
    ?>
</a>
					<?php 
}
?>
					<input type="submit" class="btn btn-submit newsSubmitBtn" value="<?php 
_e('Publish', 'gz_news');
?>
">
				</div> 
			</div>
		</fieldset>
		<div class="clear"></div>
	</form>

</div>

<?php 
GzNewsForm::destroyForm();